updated vmlocate

master
IDontCode 3 years ago
parent 8779ab1160
commit bf2d6acba0

@ -187,7 +187,8 @@ std::vector<vm_enter_t> get_vm_entries(std::uintptr_t module_base,
}); });
vm_enter_t entry{(std::uint32_t)(result - module_base), push_val}; 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 = entry.hndlr_tble.hndlr_tbl_rva =
(hndlr_tbl->instr.operands[1].mem.disp.value + result + (hndlr_tbl->instr.operands[1].mem.disp.value + result +
hndlr_tbl->instr.length) - hndlr_tbl->instr.length) -

Loading…
Cancel
Save