berndtz_experimental
Bernhard Mueller 6 years ago
parent 21f8534c01
commit 1c07ff29f9
  1. 2
      mythril/analysis/modules/dos.py
  2. 2
      mythril/analysis/modules/integer.py
  3. 2
      mythril/laser/ethereum/strategy/custom.py

@ -71,7 +71,7 @@ class DOS(DetectionModule):
try:
self._jumpdest_count[transaction][target] += 1
if self._jumpdest_count[transaction][target] == JUMPDEST_LIMIT - 1:
if self._jumpdest_count[transaction][target] == 2:
annotation = (
LoopAnnotation(address, target)

@ -31,7 +31,7 @@ import logging
log = logging.getLogger(__name__)
DISABLE_EFFECT_CHECK = True
DISABLE_EFFECT_CHECK = False
class OverUnderflowAnnotation:

@ -7,7 +7,7 @@ from copy import copy
import logging
JUMPDEST_LIMIT = 4
JUMPDEST_LIMIT = 3
log = logging.getLogger(__name__)

Loading…
Cancel
Save