aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32/pe-parser.lua5
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