Update mythril/analysis/modules/integer.py

Co-Authored-By: norhh <tommycjniko@gmail.com>
pull/938/head
JoranHonig 6 years ago committed by GitHub
parent 6d03ef3536
commit 0ed11a2bf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mythril/analysis/modules/integer.py

@ -232,7 +232,7 @@ class IntegerOverflowUnderflowModule(DetectionModule):
return return
for element in state.mstate.memory[offset : offset + length]: for element in state.mstate.memory[offset : offset + length]:
if not isinstance(element, Expression): if not isinstance(element, Expression):
return continue
for annotation in element.annotations: for annotation in element.annotations:
if isinstance(annotation, OverUnderflowAnnotation): if isinstance(annotation, OverUnderflowAnnotation):
state.annotate( state.annotate(

Loading…
Cancel
Save