Skip to content

Commit 829a924

Browse files
committed
Fix forgotten var rename
1 parent 457ca16 commit 829a924

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qiling/arch/evm/vm/debug.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import os, time
77
import cmd2
88
from rich import print as rprint
9-
from ..hooks import evm_hook_insn
9+
from ..hooks import evm_hooks_info
1010
from .disassembler import EVMDisasm
1111
from ..analysis.signatures import analysis_func_sign
1212
from .utils import analysis_bytecode, bytecode_to_bytes
@@ -38,7 +38,7 @@ def init(self, executor):
3838

3939
load_bytecode, runtime_code, aux_data, constructor_args = analysis_bytecode(self.executor.vm_context.msg.code)
4040

41-
insns = EVMDisasm().disasm(bytecode_to_bytes(runtime_code), evm_hook_insn)
41+
insns = EVMDisasm().disasm(bytecode_to_bytes(runtime_code), evm_hooks_info)
4242
self.func_sign = analysis_func_sign(insns, engine_num=2)
4343

4444
self.cli_output()

0 commit comments

Comments
 (0)