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

Go to the source code of this file.

Functions

INTSTATUS IntLixApiHookAll (void)
 Iterates through all APIs that can be hooked and sets requested hooks. More...
 
void IntLixApiUpdateHooks (void)
 Update the hookable APIs according to the current Introcore options. More...
 

Function Documentation

◆ IntLixApiHookAll()

INTSTATUS IntLixApiHookAll ( void  )

Iterates through all APIs that can be hooked and sets requested hooks.

The function name of the LIX_FN_DETOUR may be duplicated, but it has different 'HijackFunctionName'. The 'HookHandler' field of the LIX_FUNCTION structure describes the index of the LIX_FN_DETOUR that must be hooked.

Return values
INT_STATUS_SUCCESSOn success.
INT_STATUS_NOT_FOUNDIf the provided LIX_FN_DETOUR is not found.

Definition at line 257 of file lixapi.c.

Referenced by IntLixGuestInitAgentCompletion().

◆ IntLixApiUpdateHooks()

void IntLixApiUpdateHooks ( void  )

Update the hookable APIs according to the current Introcore options.

This function writes the 'ProtectionOptions' field of the LIX_HYPERCALL_PAGE.

Definition at line 341 of file lixapi.c.

Referenced by IntGuestUpdateCoreOptions().