diff options
author | Ignacio Burgueño <ignaciob@inconcertcc.com> | 2015-06-30 12:43:28 -0300 |
---|---|---|
committer | Ignacio Burgueño <ignaciob@inconcertcc.com> | 2015-06-30 12:43:28 -0300 |
commit | 28a89ba6c4f7ed30627ac52066eb783751228c59 (patch) | |
tree | 28caca68e561375182538ef03b24d9aa2c0eebd5 /win32 | |
parent | 066e1c6bd90d2e0e4fcdbc116bd857c62779b4cd (diff) | |
download | luarocks-28a89ba6c4f7ed30627ac52066eb783751228c59.tar.gz luarocks-28a89ba6c4f7ed30627ac52066eb783751228c59.tar.bz2 luarocks-28a89ba6c4f7ed30627ac52066eb783751228c59.zip |
Updates pe-parser to v0.4
Diffstat (limited to 'win32')
-rw-r--r-- | win32/pe-parser.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/pe-parser.lua b/win32/pe-parser.lua index 6b3a48c8..9cd36ffc 100644 --- a/win32/pe-parser.lua +++ b/win32/pe-parser.lua | |||
@@ -5,7 +5,7 @@ | |||
5 | -- case of 64 bit fields (bit/flag fields). Pointer arithmetic is still done numerically, so for | 5 | -- case of 64 bit fields (bit/flag fields). Pointer arithmetic is still done numerically, so for |
6 | -- very large files this could lead to undefined results. Use with care! | 6 | -- very large files this could lead to undefined results. Use with care! |
7 | -- | 7 | -- |
8 | -- Version 0.3, [copyright (c) 2013-2015 Thijs Schreijer](http://www.thijsschreijer.nl) | 8 | -- Version 0.4, [copyright (c) 2013-2015 Thijs Schreijer](http://www.thijsschreijer.nl) |
9 | -- @name pe-parser | 9 | -- @name pe-parser |
10 | -- @class module | 10 | -- @class module |
11 | 11 | ||
@@ -532,6 +532,9 @@ function M.msvcrt(infile) | |||
532 | if not result then | 532 | if not result then |
533 | result = dll:match('(MSVCRTD?)%.DLL') | 533 | result = dll:match('(MSVCRTD?)%.DLL') |
534 | end | 534 | end |
535 | if not result then | ||
536 | result = dll:match('(VCRUNTIME%d*D?)%.DLL') | ||
537 | end | ||
535 | -- success, found it return name + binary where it was found | 538 | -- success, found it return name + binary where it was found |
536 | if result then return result, infile end | 539 | if result then return result, infile end |
537 | end | 540 | end |