aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_magic/patterns.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_magic/patterns.lua')
-rw-r--r--lualib/lua_magic/patterns.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua
index 5e62b47f9..8bdc7ea44 100644
--- a/lualib/lua_magic/patterns.lua
+++ b/lualib/lua_magic/patterns.lua
@@ -105,6 +105,7 @@ local patterns = {
string = [[PE\x{00}\x{00}]],
position = {'>=', 0x3c + 4},
weight = 15,
+ heuristic = heuristics.pe_part_heuristic,
}
}
},
@@ -458,4 +459,4 @@ local patterns = {
},
}
-return patterns \ No newline at end of file
+return patterns