From 82e3b209f8aac985076d074c415e08d9361923a2 Mon Sep 17 00:00:00 2001 From: Bernhard Mueller Date: Sun, 30 Jun 2019 10:46:04 +0200 Subject: [PATCH] Report address of JUMPI instruction in DoS module --- mythril/analysis/modules/dos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mythril/analysis/modules/dos.py b/mythril/analysis/modules/dos.py index c6c9dfa3..91d64268 100644 --- a/mythril/analysis/modules/dos.py +++ b/mythril/analysis/modules/dos.py @@ -88,7 +88,7 @@ class DOS(DetectionModule): annotation.jump_targets[target] = 1 if annotation.jump_targets[target] > 2: - annotation.loop_start = target + annotation.loop_start = address elif annotation.loop_start is not None: