From bf2d6acba03a81e07371fc169d26744992455571 Mon Sep 17 00:00:00 2001 From: _xeroxz <_xeroxz@back.engineer> Date: Thu, 2 Dec 2021 18:14:56 -0800 Subject: [PATCH] updated vmlocate --- src/vmlocate.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vmlocate.cpp b/src/vmlocate.cpp index 22109ef..fcaa527 100644 --- a/src/vmlocate.cpp +++ b/src/vmlocate.cpp @@ -187,7 +187,8 @@ std::vector get_vm_entries(std::uintptr_t module_base, }); vm_enter_t entry{(std::uint32_t)(result - module_base), push_val}; - entry.hndlr_tble.lea_r12_instr = *hndlr_tbl; + entry.hndlr_tble.lea_r12_instr.addr = hndlr_tbl->addr; + entry.hndlr_tble.lea_r12_instr.instr = hndlr_tbl->instr; entry.hndlr_tble.hndlr_tbl_rva = (hndlr_tbl->instr.operands[1].mem.disp.value + result + hndlr_tbl->instr.length) -