Fix norhh bugs

pull/1029/head
Bernhard Mueller 6 years ago
parent 1439bb5666
commit 32275d07e4
  1. 2
      mythril/analysis/modules/dependence_on_predictable_vars.py
  2. 2
      mythril/laser/ethereum/instructions.py

@ -15,7 +15,7 @@ import traceback
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
predictable_ops = ["COINBASE", "GASLIMIT", "TIMESTAMP", "NUMBER"] predictable_ops = ["COINBASE", "GASLIMIT", "TIMESTAMP", "NUMBER"]
final_ops = ["CALL", "SUICIDE", "STOP"] final_ops = ["CALL", "SUICIDE", "STOP", "RETURN"]
# One of Bernhard's trademark hacks! # One of Bernhard's trademark hacks!

@ -898,7 +898,7 @@ class Instruction:
return [global_state] return [global_state]
@StateTransition(enable_gas=False) @StateTransition(enable_gas=False)
def sha3_(selxf, global_state: GlobalState) -> List[GlobalState]: def sha3_(self, global_state: GlobalState) -> List[GlobalState]:
""" """
:param global_state: :param global_state:

Loading…
Cancel
Save