Merge pull request #164 from JoranHonig/features/integeroverflow

Ignore added fp checks for now
pull/168/head
Bernhard Mueller 7 years ago committed by GitHub
commit 8605d25279
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      mythril/analysis/modules/integer.py

@ -273,8 +273,8 @@ def _search_children(statespace, node, expression, constraint=[], index=0, depth
element = _check_usage(current_state, expression)
if len(element) < 1:
continue
if _check_requires(element[0], node, statespace, constraint):
continue
# if _check_requires(element[0], node, statespace, constraint):
# pass
results += element
# Recursively search children
@ -283,7 +283,7 @@ def _search_children(statespace, node, expression, constraint=[], index=0, depth
statespace.nodes[edge.node_to]
for edge in statespace.edges
if edge.node_from == node.uid
and _try_constraints(statespace.nodes[edge.node_to].constraints, constraint) is not None
# and _try_constraints(statespace.nodes[edge.node_to].constraints, constraint) is not None
]
for child in children:

Loading…
Cancel
Save