From 50fd6c75b41e3a1ae8e4061c6c31c26298902cfa Mon Sep 17 00:00:00 2001 From: _xeroxz Date: Sat, 22 May 2021 19:00:59 -0700 Subject: [PATCH] fixed missing address value in vm::handler::get_call... --- src/vm.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vm.cpp b/src/vm.cpp index 5fdbde7..de43506 100644 --- a/src/vm.cpp +++ b/src/vm.cpp @@ -318,6 +318,7 @@ namespace vm if (has_imm && !vm::handler::get_operand_transforms(vm_handler_instrs, transforms)) return false; + vm_handler.address = (decrypt_val - image_base) + module_base; vm_handler.instrs = vm_handler_instrs; vm_handler.imm_size = imm_size; vm_handler.transforms = transforms;