Merge pull request #247 from JoranHonig/bugfix/regex

bugfix: Change regex
pull/254/merge
Bernhard Mueller 7 years ago committed by GitHub
commit 1fbc3d52f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mythril/support/signatures.py

@ -10,7 +10,7 @@ def add_signatures_from_file(file, sigs={}):
code = f.read()
funcs = re.findall(r'function[\s]+(.*?\))', code, re.DOTALL)
funcs = re.findall(r'function[\s]+(\w+\([^\)]*\))', code, re.DOTALL)
for f in funcs:

Loading…
Cancel
Save