1
0
mirror of https://github.com/momo5502/hypervisor.git synced 2025-07-05 10:41:50 +00:00

More progress

This commit is contained in:
momo5502
2022-04-14 20:47:40 +02:00
parent 2acac5bee2
commit e2f73e0aeb
10 changed files with 60 additions and 28 deletions

View File

@ -192,6 +192,11 @@ void hypervisor::disable_all_ept_hooks() const
});
}
hypervisor* hypervisor::get_instance()
{
return instance;
}
void hypervisor::enable()
{
const auto cr3 = __readcr3();