mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 03:33:56 +00:00
Extract main module cache into module manager
This commit is contained in:
@@ -34,7 +34,7 @@ namespace
|
||||
|
||||
void forward_emulator(windows_emulator& win_emu)
|
||||
{
|
||||
const auto target = win_emu.process.executable->find_export("vulnerable");
|
||||
const auto target = win_emu.mod_manager.executable->find_export("vulnerable");
|
||||
win_emu.emu().hook_memory_execution(target, 1, [&](uint64_t, size_t, uint64_t) { win_emu.emu().stop(); });
|
||||
|
||||
run_emulation(win_emu);
|
||||
|
||||
Reference in New Issue
Block a user