Report address of JUMPI instruction in DoS module

pull/1125/head
Bernhard Mueller 5 years ago
parent cbde4c69b8
commit 82e3b209f8
  1. 2
      mythril/analysis/modules/dos.py

@ -88,7 +88,7 @@ class DOS(DetectionModule):
annotation.jump_targets[target] = 1 annotation.jump_targets[target] = 1
if annotation.jump_targets[target] > 2: if annotation.jump_targets[target] > 2:
annotation.loop_start = target annotation.loop_start = address
elif annotation.loop_start is not None: elif annotation.loop_start is not None:

Loading…
Cancel
Save