Bitdefender Hypervisor Memory Introspection
msr_protection.h File Reference
#include "introtypes.h"

Go to the source code of this file.

Functions

INTSTATUS IntMsrSyscallProtect (void)
 Enable protection for all SYSCALL and SYSENTER MSRs. More...
 
INTSTATUS IntMsrSyscallUnprotect (void)
 Remove protection from all protected MSRs. More...
 

Function Documentation

◆ IntMsrSyscallProtect()

INTSTATUS IntMsrSyscallProtect ( void  )

Enable protection for all SYSCALL and SYSENTER MSRs.

Return values
INT_STATUS_SUCCESSOn success.
INT_STATUS_ALREADY_INITIALIZED_HINTIf the MSR hooks have already been set.

Definition at line 334 of file msr_protection.c.

Referenced by IntGuestUpdateCoreOptions(), IntLixGuestActivateProtection(), and IntWinGuestActivateProtection().

◆ IntMsrSyscallUnprotect()

INTSTATUS IntMsrSyscallUnprotect ( void  )

Remove protection from all protected MSRs.

Return values
INT_STATUS_SUCCESSOn success.
INT_STATUS_NOT_NEEDED_HINTIf the MSRs have not been hooked yet.

Definition at line 427 of file msr_protection.c.

Referenced by IntGuestUpdateCoreOptions().