Commit c7f1eeda by devttys0

Support for math argument evaluation

parent e3ebc95e
......@@ -85,7 +85,7 @@ class SmartSignature:
# when extraction is enabled. If not specified, everything to the end of the file will be
# extracted (see Binwalk.scan).
try:
results['size'] = str2int(self._get_keyword_arg(data, 'filesize'))
results['size'] = str2int(self._get_math_arg(data, 'filesize'))
except:
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment