1
0
mirror of https://github.com/momo5502/hypervisor.git synced 2025-08-31 05:57:27 +00:00

More code watching progress

... but it still bug checks
This commit is contained in:
momo5502
2022-05-16 10:15:57 +02:00
parent c8817b3ee4
commit 4d1f94d65a
5 changed files with 60 additions and 3 deletions

View File

@@ -182,7 +182,12 @@ namespace
const auto physical_address = memory::get_physical_address(const_cast<uint8_t*>(current));
if (physical_address)
{
hypervisor->get_ept().install_code_watch_point(physical_address);
debug_log("Watching %p -> %llX\n", current, physical_address);
(void)hypervisor->install_ept_code_watch_point(physical_address);
}
else
{
debug_log("Failed to resovle physical address for %p\n", current);
}
}
}