Fix integer slowdown, set default loop bound to 3

pull/1124/head
Bernhard Mueller 5 years ago
parent 9cc47dba56
commit 2a0a42dac2
  1. 3
      mythril/analysis/modules/integer.py
  2. 2
      mythril/interfaces/cli.py

@ -40,6 +40,9 @@ class OverUnderflowAnnotation:
self.operator = operator
self.constraint = constraint
def __deepcopy__(self, memodict={}):
new_annotation = copy(self)
return new_annotation
class OverUnderflowStateAnnotation(StateAnnotation):
""" State Annotation used if an overflow is both possible and used in the annotated path"""

@ -329,7 +329,7 @@ def create_analyzer_parser(analyzer_parser: ArgumentParser):
"-b",
"--loop-bound",
type=int,
default=2,
default=3,
help="Bound loops at n iterations",
metavar="N",
)

Loading…
Cancel
Save