Update mythril/laser/ethereum/strategy/extensions/bounded_loops.py

Co-Authored-By: Nikhil Parasaram <nikhilparasaram@gmail.com>
fix/boundedloops
Nathan 5 years ago committed by GitHub
parent c465e14fb7
commit 04a2fd4e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mythril/laser/ethereum/strategy/extensions/bounded_loops.py

@ -71,7 +71,7 @@ class BoundedLoopsStrategy(BasicSearchStrategy):
cur_instr["opcode"], cur_instr["address"], state.mstate.prev_pc cur_instr["opcode"], cur_instr["address"], state.mstate.prev_pc
) )
if key in annotation._reached_count.keys(): if key in annotation._reached_count:
annotation._reached_count[key] += 1 annotation._reached_count[key] += 1
else: else:
annotation._reached_count[key] = 1 annotation._reached_count[key] = 1

Loading…
Cancel
Save