Go to the source code of this file.
◆ setup_mock()
◆ proc_ctl_allow1()
void proc_ctl_allow1 |
( |
uint64_t |
mask | ) |
|
◆ proc_ctl_allow0()
void proc_ctl_allow0 |
( |
uint64_t |
mask | ) |
|
◆ proc_ctl_disallow1()
void proc_ctl_disallow1 |
( |
uint64_t |
mask | ) |
|
◆ proc_ctl2_allow1()
void proc_ctl2_allow1 |
( |
uint64_t |
mask | ) |
|
◆ proc_ctl2_allow0()
void proc_ctl2_allow0 |
( |
uint64_t |
mask | ) |
|
◆ proc_ctl2_disallow1()
void proc_ctl2_disallow1 |
( |
uint64_t |
mask | ) |
|
◆ pin_ctl_allow1()
void pin_ctl_allow1 |
( |
uint64_t |
mask | ) |
|
◆ pin_ctl_allow0()
void pin_ctl_allow0 |
( |
uint64_t |
mask | ) |
|
◆ exit_ctl_allow1()
void exit_ctl_allow1 |
( |
uint64_t |
mask | ) |
|
◆ exit_ctl_allow0()
void exit_ctl_allow0 |
( |
uint64_t |
mask | ) |
|
◆ entry_ctl_allow1()
void entry_ctl_allow1 |
( |
uint64_t |
mask | ) |
|
◆ entry_ctl_allow0()
void entry_ctl_allow0 |
( |
uint64_t |
mask | ) |
|
◆ vmfunc_ctl_allow1()
void vmfunc_ctl_allow1 |
( |
uint64_t |
mask | ) |
|
◆ __read_msr()
uint64_t __read_msr |
( |
uint32_t |
addr | ) |
|
|
noexcept |
◆ __write_msr()
void __write_msr |
( |
uint32_t |
addr, |
|
|
uint64_t |
val |
|
) |
| |
|
noexcept |
◆ __cpuid_eax()
uint32_t __cpuid_eax |
( |
uint32_t |
val | ) |
|
|
noexcept |
◆ __cpuid_ecx()
uint32_t __cpuid_ecx |
( |
uint32_t |
val | ) |
|
|
noexcept |
◆ __cpuid()
void __cpuid |
( |
void * |
eax, |
|
|
void * |
ebx, |
|
|
void * |
ecx, |
|
|
void * |
edx |
|
) |
| |
|
noexcept |
◆ __vmread()
bool __vmread |
( |
uint64_t |
field, |
|
|
uint64_t * |
val |
|
) |
| |
|
noexcept |
◆ __vmwrite()
bool __vmwrite |
( |
uint64_t |
field, |
|
|
uint64_t |
val |
|
) |
| |
|
noexcept |
◆ __vmclear()
bool __vmclear |
( |
void * |
ptr | ) |
|
|
noexcept |
◆ __vmptrld()
bool __vmptrld |
( |
void * |
ptr | ) |
|
|
noexcept |
◆ __vmlaunch_demote()
bool __vmlaunch_demote |
( |
void |
| ) |
|
|
noexcept |
◆ virtptr_to_physint()
uintptr_t virtptr_to_physint |
( |
void * |
ptr | ) |
|
◆ physint_to_virtptr()
void* physint_to_virtptr |
( |
uintptr_t |
phys | ) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ g_msrs
std::map<uint32_t, uint64_t> g_msrs |
◆ g_vmcs_fields
std::map<uint64_t, uint64_t> g_vmcs_fields |
◆ g_eax_cpuid
std::map<uint32_t, uint32_t> g_eax_cpuid |
◆ g_cpuid_regs
struct cpuid_regs g_cpuid_regs |
◆ g_vmclear_fails
bool g_vmclear_fails = false |
◆ g_vmload_fails
bool g_vmload_fails = false |
◆ g_vmlaunch_fails
bool g_vmlaunch_fails = false |
◆ g_virt_to_phys_return_nullptr
bool g_virt_to_phys_return_nullptr = false |
◆ g_phys_to_virt_return_nullptr
bool g_phys_to_virt_return_nullptr = false |
◆ g_test_addr
uint64_t g_test_addr = 0U |
◆ g_virt_apic_addr
uint64_t g_virt_apic_addr = 0U |
◆ g_virt_apic_mem
uint8_t g_virt_apic_mem[0x81] = {0U} |
◆ g_vmcs_link_addr
uint64_t g_vmcs_link_addr = 1U |
◆ g_vmcs_link_mem
uint32_t g_vmcs_link_mem[1] = {0U} |
◆ g_pdpt_addr
uint64_t g_pdpt_addr = 2U |
◆ g_pdpt_mem
uint64_t g_pdpt_mem[4] = {0U} |
◆ g_mock_mem
std::map<uint64_t, void *> g_mock_mem |
Initial value:{
{
}
}
uint8_t g_virt_apic_mem[0x81]
uint64_t g_vmcs_link_addr
uint64_t g_virt_apic_addr
uint32_t g_vmcs_link_mem[1]
Definition at line 54 of file test.cpp.