Merge pull request #544 from norhh/bugfix/541

check for existance of new records to work on
pull/568/head
Nikhil Parasaram 6 years ago committed by GitHub
commit e35ecfa20e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      mythril/laser/ethereum/taint_analysis.py

@ -109,7 +109,8 @@ class TaintRunner:
records = TaintRunner.execute_node(node, record, index)
result.add_records(records)
if len(records) == 0: # continue if there is no record to work on
continue
children = TaintRunner.children(node, statespace, environment, transaction_stack_length)
for child in children:
current_nodes.append((child, records[-1], 0))

Loading…
Cancel
Save