1
0
mirror of https://github.com/momo5502/hypervisor.git synced 2025-07-03 17:51:52 +00:00

Hook tests

This commit is contained in:
momo5502
2022-04-16 22:37:28 +02:00
parent 4c3e5d78ac
commit 77785486ae
6 changed files with 64 additions and 27 deletions

View File

@ -19,7 +19,7 @@ public:
bool is_enabled() const;
bool install_ept_hook(void* destination, const void* source, size_t length);
bool install_ept_hook(const void* destination, const void* source, size_t length);
void disable_all_ept_hooks() const;
static hypervisor* get_instance();
@ -35,8 +35,8 @@ private:
void allocate_vm_states();
void free_vm_states();
bool try_install_ept_hook_on_core(void* destination, const void* source, size_t length);
void install_ept_hook_on_core(void* destination, const void* source, size_t length);
bool try_install_ept_hook_on_core(const void* destination, const void* source, size_t length);
void install_ept_hook_on_core(const void* destination, const void* source, size_t length);
vmx::state* get_current_vm_state() const;
};