Functions | Variables
test_vmx_intel_x64.cpp File Reference

Go to the source code of this file.

Functions

bool __vmxon (void *ptr) noexcept
 
bool __vmxoff (void) noexcept
 
bool __vmclear (void *ptr) noexcept
 
bool __vmptrld (void *ptr) noexcept
 
bool __vmptrst (void *ptr) noexcept
 
bool __vmread (uint64_t field, uint64_t *val) noexcept
 
bool __vmwrite (uint64_t field, uint64_t val) noexcept
 
bool __vmlaunch_demote (void) noexcept
 
bool __invept (uint64_t type, void *ptr) noexcept
 
bool __invvpid (uint64_t type, void *ptr) noexcept
 

Variables

uintptr_t g_region = 0
 
std::map< vm::field_type, vm::value_typeg_vmcs
 
bool g_vmxon_fails = false
 
bool g_vmxoff_fails = false
 
bool g_vmclear_fails = false
 
bool g_vmload_fails = false
 
bool g_vmreset_fails = false
 
bool g_vmread_fails = false
 
bool g_vmwrite_fails = false
 
bool g_vmlaunch_fails = false
 
bool g_invept_fails = false
 
bool g_invvpid_fails = false
 

Function Documentation

◆ __vmxon()

bool __vmxon ( void *  ptr)
noexcept

Definition at line 42 of file test_vmx_intel_x64.cpp.

◆ __vmxoff()

bool __vmxoff ( void  )
noexcept

Definition at line 46 of file test_vmx_intel_x64.cpp.

◆ __vmclear()

bool __vmclear ( void *  ptr)
noexcept

Definition at line 50 of file test_vmx_intel_x64.cpp.

◆ __vmptrld()

bool __vmptrld ( void *  ptr)
noexcept

Definition at line 54 of file test_vmx_intel_x64.cpp.

◆ __vmptrst()

bool __vmptrst ( void *  ptr)
noexcept

Definition at line 58 of file test_vmx_intel_x64.cpp.

◆ __vmread()

bool __vmread ( uint64_t  field,
uint64_t *  val 
)
noexcept

Definition at line 62 of file test_vmx_intel_x64.cpp.

◆ __vmwrite()

bool __vmwrite ( uint64_t  field,
uint64_t  val 
)
noexcept

Definition at line 73 of file test_vmx_intel_x64.cpp.

◆ __vmlaunch_demote()

bool __vmlaunch_demote ( void  )
noexcept

Definition at line 84 of file test_vmx_intel_x64.cpp.

◆ __invept()

bool __invept ( uint64_t  type,
void *  ptr 
)
noexcept

Definition at line 88 of file test_vmx_intel_x64.cpp.

◆ __invvpid()

bool __invvpid ( uint64_t  type,
void *  ptr 
)
noexcept

Definition at line 92 of file test_vmx_intel_x64.cpp.

Variable Documentation

◆ g_region

uintptr_t g_region = 0

Definition at line 27 of file test_vmx_intel_x64.cpp.

◆ g_vmcs

std::map<vm::field_type, vm::value_type> g_vmcs

Definition at line 28 of file test_vmx_intel_x64.cpp.

◆ g_vmxon_fails

bool g_vmxon_fails = false

Definition at line 30 of file test_vmx_intel_x64.cpp.

◆ g_vmxoff_fails

bool g_vmxoff_fails = false

Definition at line 31 of file test_vmx_intel_x64.cpp.

◆ g_vmclear_fails

bool g_vmclear_fails = false

Definition at line 32 of file test_vmx_intel_x64.cpp.

◆ g_vmload_fails

bool g_vmload_fails = false

Definition at line 33 of file test_vmx_intel_x64.cpp.

◆ g_vmreset_fails

bool g_vmreset_fails = false

Definition at line 34 of file test_vmx_intel_x64.cpp.

◆ g_vmread_fails

bool g_vmread_fails = false

Definition at line 35 of file test_vmx_intel_x64.cpp.

◆ g_vmwrite_fails

bool g_vmwrite_fails = false

Definition at line 36 of file test_vmx_intel_x64.cpp.

◆ g_vmlaunch_fails

bool g_vmlaunch_fails = false

Definition at line 37 of file test_vmx_intel_x64.cpp.

◆ g_invept_fails

bool g_invept_fails = false

Definition at line 38 of file test_vmx_intel_x64.cpp.

◆ g_invvpid_fails

bool g_invvpid_fails = false

Definition at line 39 of file test_vmx_intel_x64.cpp.