diff --git a/mythril/analysis/symbolic.py b/mythril/analysis/symbolic.py index 6acffd67..55c46cf3 100644 --- a/mythril/analysis/symbolic.py +++ b/mythril/analysis/symbolic.py @@ -145,7 +145,7 @@ class SymExecWrapper: if run_analysis_modules: analysis_modules = ModuleLoader().get_detection_modules( - EntryPoint.POST, modules + EntryPoint.CALLBACK, modules ) self.laser.register_hooks( hook_type="pre", diff --git a/tests/instructions/create2_test.py b/tests/instructions/create2_test.py index eb927f76..30cfc239 100644 --- a/tests/instructions/create2_test.py +++ b/tests/instructions/create2_test.py @@ -24,7 +24,7 @@ def generate_salted_address(code_str, salt, caller): salt = "0" * (64 - len(salt)) + salt contract_address = int( - get_code_hash("0xff" + addr + salt + get_code_hash(code_str)[2:])[26:], 16, + get_code_hash("0xff" + addr + salt + get_code_hash(code_str)[2:])[26:], 16 ) return contract_address