From d302b10e199555866305f49e73949775d1864c66 Mon Sep 17 00:00:00 2001 From: wallds Date: Fri, 20 May 2022 17:20:16 +0800 Subject: [PATCH] Fix #7 --- novmpy/handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/novmpy/handler.py b/novmpy/handler.py index 68f8f83..50c3c69 100644 --- a/novmpy/handler.py +++ b/novmpy/handler.py @@ -4,6 +4,7 @@ from novmpy.vm_const import * import struct from pyvtil import * +from typing import List vm_handlers = {} @@ -1431,7 +1432,7 @@ def generator(self, ins: VMIns, block: vtil.basic_block): block.popf() -def feeling_good(insns_connect: list[CsInsn]): +def feeling_good(insns_connect: List[CsInsn]): """ dir reg_base