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

Go to the source code of this file.

Functions

INTSTATUS IntIdtrProtect (void)
 Enable IDTR protection. More...
 
INTSTATUS IntGdtrProtect (void)
 Enable GDTR protection. More...
 
INTSTATUS IntIdtrUnprotect (void)
 Remove the IDTR protection. More...
 
INTSTATUS IntGdtrUnprotect (void)
 Remove the GDTR protection. More...
 

Function Documentation

◆ IntGdtrProtect()

INTSTATUS IntGdtrProtect ( void  )

Enable GDTR protection.

Return values
INT_STATUS_SUCCESSOn success.
INT_STATUS_NOT_NEEDED_HINTIf DTR events are not supported.
INT_STATUS_ALREADY_INITIALIZED_HINTIf GDTR is already protected.

Definition at line 286 of file dtr_protection.c.

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

◆ IntGdtrUnprotect()

INTSTATUS IntGdtrUnprotect ( void  )

Remove the GDTR protection.

Return values
INT_STATUS_SUCCESSOn success.
INT_STATUS_NOT_NEEDED_HINTIf GDTR is not protected.

Definition at line 353 of file dtr_protection.c.

Referenced by IntGuestUpdateCoreOptions().

◆ IntIdtrProtect()

INTSTATUS IntIdtrProtect ( void  )

Enable IDTR protection.

Return values
INT_STATUS_SUCCESSOn success.
INT_STATUS_NOT_NEEDED_HINTIf DTR events are not supported.
INT_STATUS_ALREADY_INITIALIZED_HINTIf IDTR is already protected.

Definition at line 245 of file dtr_protection.c.

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

◆ IntIdtrUnprotect()

INTSTATUS IntIdtrUnprotect ( void  )

Remove the IDTR protection.

Return values
INT_STATUS_SUCCESSOn success.
INT_STATUS_NOT_NEEDED_HINTIf IDTR is not protected.

Definition at line 327 of file dtr_protection.c.

Referenced by IntGuestUpdateCoreOptions().