|
|
@ -82,9 +82,11 @@ def _check_integer_overflow(statespace, state, node): |
|
|
|
logging.debug("[INTEGER_OVERFLOW] no model found") |
|
|
|
logging.debug("[INTEGER_OVERFLOW] no model found") |
|
|
|
return issues |
|
|
|
return issues |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
''' |
|
|
|
if not _verify_integer_overflow(statespace, node, expr, state, model, constraint, op0, op1): |
|
|
|
if not _verify_integer_overflow(statespace, node, expr, state, model, constraint, op0, op1): |
|
|
|
return issues |
|
|
|
return issues |
|
|
|
|
|
|
|
''' |
|
|
|
|
|
|
|
|
|
|
|
# Build issue |
|
|
|
# Build issue |
|
|
|
issue = Issue(node.contract_name, node.function_name, instruction['address'], "Integer Overflow ", "Warning") |
|
|
|
issue = Issue(node.contract_name, node.function_name, instruction['address'], "Integer Overflow ", "Warning") |
|
|
|
|
|
|
|
|
|
|
|