Bitdefender Hypervisor Memory Introspection
_HOOK_GVA Struct Reference

#include <hook_gva.h>

Data Fields

HOOK_HEADER Header
 The hook header. More...
 
LIST_ENTRY Link
 List entry element. More...
 
union {
   PFUNC_EptViolationCallback   Access
 The read/write/execute access callback. Valid if Type != IG_EPT_HOOK_NONE. More...
 
   PFUNC_SwapCallback   Swap
 The swap callback. Valid if Type == IG_EPT_HOOK_NONE. More...
 
Callback
 
PHOOK_GPA GpaHook
 The actual guest physical page hook. Valid as long as the page is mapped. More...
 
PHOOK_PTS PtsHook
 The page tables hook. More...
 
QWORD GvaPage
 Guest virtual page base address, aligned to 4K. More...
 
WORD Offset
 Offset inside the 4K page, interval [0, 4095]. More...
 
WORD Length
 
DWORD Hash
 Hash computed on the content of the page. Valid only if IsIntegrityOn is true. More...
 
BOOLEAN IsIntegrityOn
 True if integrity checks are enabled for this page. Integrity checks are enabled if the this is a write hook on a kernel page. More...
 
BOOLEAN IsPageWritable
 True if the page is writable, false otherwise. More...
 

Detailed Description

This structures describes a hooked guest virtual page. Page-table interception and guest physical page hooks are handled internally.

Definition at line 18 of file hook_gva.h.

Field Documentation

◆ Access

PFUNC_EptViolationCallback _HOOK_GVA::Access

The read/write/execute access callback. Valid if Type != IG_EPT_HOOK_NONE.

Definition at line 25 of file hook_gva.h.

Referenced by IntHookGvaSetHook().

◆ Callback

union { ... } _HOOK_GVA::Callback

Referenced by IntHookGvaSetHook().

◆ GpaHook

PHOOK_GPA _HOOK_GVA::GpaHook

The actual guest physical page hook. Valid as long as the page is mapped.

Definition at line 30 of file hook_gva.h.

Referenced by DbgDumpHooksGva().

◆ GvaPage

◆ Hash

DWORD _HOOK_GVA::Hash

Hash computed on the content of the page. Valid only if IsIntegrityOn is true.

Definition at line 36 of file hook_gva.h.

◆ Header

◆ IsIntegrityOn

BOOLEAN _HOOK_GVA::IsIntegrityOn

True if integrity checks are enabled for this page. Integrity checks are enabled if the this is a write hook on a kernel page.

Definition at line 39 of file hook_gva.h.

Referenced by DbgDumpHooksGva(), and IntHookGvaSetHook().

◆ IsPageWritable

BOOLEAN _HOOK_GVA::IsPageWritable

True if the page is writable, false otherwise.

Definition at line 40 of file hook_gva.h.

Referenced by DbgDumpHooksGva(), and IntHookGvaSetHook().

◆ Length

WORD _HOOK_GVA::Length

Length of the hook, interval [1, 4096].

Definition at line 34 of file hook_gva.h.

Referenced by DbgDumpHooksGva(), and IntHookGvaSetHook().

◆ Link

LIST_ENTRY _HOOK_GVA::Link

List entry element.

Definition at line 21 of file hook_gva.h.

Referenced by IntHookGvaSetHook().

◆ Offset

WORD _HOOK_GVA::Offset

Offset inside the 4K page, interval [0, 4095].

Definition at line 33 of file hook_gva.h.

Referenced by DbgDumpHooksGva(), and IntHookGvaSetHook().

◆ PtsHook

PHOOK_PTS _HOOK_GVA::PtsHook

The page tables hook.

Definition at line 31 of file hook_gva.h.

Referenced by IntHookGvaSetHook(), and IntValidateTranslation().

◆ Swap

PFUNC_SwapCallback _HOOK_GVA::Swap

The swap callback. Valid if Type == IG_EPT_HOOK_NONE.

Definition at line 26 of file hook_gva.h.

Referenced by IntHookGvaSetHook().


The documentation for this struct was generated from the following file: