Bitdefender Hypervisor Memory Introspection
|
Described a detour handler. More...
#include <detours.h>
Data Fields | |
DWORD | MinVersion |
The minimum version of the OS for which this handler works. More... | |
DWORD | MaxVersion |
The maximum version of the OS for which this handler works. More... | |
DWORD | CodeLength |
The size of the handler. Must not be larger than DETOUR_MAX_HANDLER_SIZE. More... | |
HYPERCALL_TYPE | HypercallType |
The type of hypercall used. More... | |
BYTE | Code [DETOUR_MAX_HANDLER_SIZE] |
The code of the detour handler. Only CodeLength bytes are valid. More... | |
BYTE | HypercallOffset |
The offset inside the handler at which the hypercall instruction is placed. More... | |
BYTE | RelocatedCodeOffset |
The offset inside the handler at which the original instructions were relocated. More... | |
API_HOOK_PUBLIC_DATA | PublicDataOffsets [PUBLIC_DATA_MAX_DESCRIPTORS] |
Optional public data used to allow external changes to the detour handler. More... | |
BYTE | NrPublicDataOffsets |
The number of valid entries inside the PublicDataOffsets array. More... | |
BYTE _API_HOOK_HANDLER::Code[DETOUR_MAX_HANDLER_SIZE] |
The code of the detour handler. Only CodeLength bytes are valid.
Definition at line 298 of file detours.h.
Referenced by IntWinPatchVadHandleCommit(), IntWinProcPatchCopyMemoryDetour(), IntWinProcPatchPspInsertProcess86(), IntWinProcPatchSwapOut32(), IntWinProcPatchSwapOut64(), IntWinProcPrepareInstrument(), IntWinThrPatchThreadHijackHandler(), IntWinThrPrepareApcHandler(), IntWinVadPatchDeleteVaRange(), IntWinVadPatchFinishVadDeletion(), IntWinVadPatchInsert(), IntWinVadPatchInsertMap(), IntWinVadPatchInsertPrivate(), and IntWinVadPatchVirtualProtect().
DWORD _API_HOOK_HANDLER::CodeLength |
The size of the handler. Must not be larger than DETOUR_MAX_HANDLER_SIZE.
BYTE _API_HOOK_HANDLER::HypercallOffset |
HYPERCALL_TYPE _API_HOOK_HANDLER::HypercallType |
DWORD _API_HOOK_HANDLER::MaxVersion |
The maximum version of the OS for which this handler works.
If the OS is newer than this, the handler is ignored.
Definition at line 292 of file detours.h.
Referenced by IntWinApiHook().
DWORD _API_HOOK_HANDLER::MinVersion |
The minimum version of the OS for which this handler works.
If the OS is older than this, the handler is ignored.
Definition at line 288 of file detours.h.
Referenced by IntWinApiHook().
BYTE _API_HOOK_HANDLER::NrPublicDataOffsets |
API_HOOK_PUBLIC_DATA _API_HOOK_HANDLER::PublicDataOffsets[PUBLIC_DATA_MAX_DESCRIPTORS] |
BYTE _API_HOOK_HANDLER::RelocatedCodeOffset |