Bitdefender Hypervisor Memory Introspection
|
#include "thread_safeness.h"
Go to the source code of this file.
Typedefs | |
typedef enum _AG_WAITSTATE | AG_WAITSTATE |
Enumerations | |
enum | _AG_WAITSTATE { agNone, agActive, agWaiting } |
Functions | |
INTSTATUS | IntAgentHandleInt3 (QWORD Rip, DWORD CpuNumber) |
Dispatch a breakpoint event to the Windows or Linux agent breakpoint handler. More... | |
INTSTATUS | IntAgentHandleVmcall (QWORD Rip) |
Dispatch a VMCALL event to the Windows or Linux agent VMCALL handler. More... | |
INTSTATUS | IntAgentActivatePendingAgent (void) |
Activate a pending Windows or Linux agent. More... | |
void | IntAgentDisablePendingAgents (void) |
Disable the Windows or Linux pending agents. More... | |
AG_WAITSTATE | IntAgentGetState (DWORD *Tag) |
Get the current Windows or Linux agent state. More... | |
INTSTATUS | IntAgentEnableInjection (void) |
Enable Windows or Linux agent injection. More... | |
BOOLEAN | IntAgentIsPtrInTrampoline (QWORD Ptr, THS_PTR_TYPE Type) |
Check if the provided pointer points inside the Windows trampoline code. More... | |
typedef enum _AG_WAITSTATE AG_WAITSTATE |
enum _AG_WAITSTATE |
INTSTATUS IntAgentActivatePendingAgent | ( | void | ) |
Activate a pending Windows or Linux agent.
INT_STATUS_SUCCESS | On success. |
INT_STATUS_NOT_INITIALIZED_HINT | If the guest OS is not initialized. |
INT_STATUS_NOT_SUPPORTED | If the OS is not recognized. |
Definition at line 70 of file agent.c.
Referenced by IntGuestPreReturnCallback().
void IntAgentDisablePendingAgents | ( | void | ) |
Disable the Windows or Linux pending agents.
Definition at line 102 of file agent.c.
Referenced by IntGuestPrepareUninit().
INTSTATUS IntAgentEnableInjection | ( | void | ) |
Enable Windows or Linux agent injection.
INT_STATUS_SUCCESS | On success. |
INT_STATUS_NOT_SUPPORTED | If the OS is not recognized. |
Definition at line 152 of file agent.c.
Referenced by IntWinProcCreateProcessObject().
AG_WAITSTATE IntAgentGetState | ( | DWORD * | Tag | ) |
Get the current Windows or Linux agent state.
[out] | Tag | Optional active agent tag. |
Definition at line 121 of file agent.c.
Referenced by IntGuestIsSafeToDisable().
Dispatch a breakpoint event to the Windows or Linux agent breakpoint handler.
[in] | Rip | The RIP the breakpoint took place at. |
[in] | CpuNumber | The VCPU number. |
INT_STATUS_SUCCESS | On success. |
INT_STATUS_NOT_SUPPORTED | If the OS is not recognized. |
Definition at line 12 of file agent.c.
Referenced by IntHandleBreakpoint().
Dispatch a VMCALL event to the Windows or Linux agent VMCALL handler.
[in] | Rip | The RIP the VMCALL took place at. |
INT_STATUS_SUCCESS | On success. |
INT_STATUS_NOT_SUPPORTED | If the OS is not recognized. |
Definition at line 42 of file agent.c.
Referenced by IntHandleIntroCall().
BOOLEAN IntAgentIsPtrInTrampoline | ( | QWORD | Ptr, |
THS_PTR_TYPE | Type | ||
) |
Check if the provided pointer points inside the Windows trampoline code.
[in] | Ptr | The pointer to be checked. |
[in] | Type | Pointer type - live RIP or stack value. |
Definition at line 180 of file agent.c.
Referenced by IntThrSafeIsLiveRIPInIntro(), and IntThrSafeIsStackPtrInIntro().