fix returndata copy index (#1739)

pull/1740/head
宾文邦 2 years ago committed by GitHub
parent 78cd01cead
commit d543c3aed1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mythril/laser/ethereum/instructions.py

@ -1349,7 +1349,7 @@ class Instruction:
for i in range(concrete_size):
global_state.mstate.memory[concrete_memory_offset + i] = (
global_state.last_return_data[concrete_return_offset + i]
if i < global_state.last_return_data.size
if concrete_return_offset + i < global_state.last_return_data.size
else 0
)

Loading…
Cancel
Save