Fix issues with exceptions module (#1542)

pull/1544/head
Nikhil Parasaram 3 years ago committed by GitHub
parent e7d50f3c60
commit ab2db57b9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mythril/analysis/module/modules/exceptions.py

@ -121,7 +121,7 @@ class Exceptions(DetectionModule):
def is_assertion_failure(global_state):
state = global_state.mstate
offset, length = state.stack.pop(), state.stack.pop()
offset, length = state.stack[-1], state.stack[-2]
try:
return_data = state.memory[
util.get_concrete_int(offset) : util.get_concrete_int(offset + length)

Loading…
Cancel
Save