HyperDbg Debugger
Toggle main menu visibility
Loading...
Searching...
No Matches
GlobalVariables.h
Go to the documentation of this file.
1
13
#pragma once
14
16
// Global Variables //
18
23
HYPERTRACE_CALLBACKS
g_Callbacks
;
24
29
BOOLEAN
g_HyperTraceCallbacksInitialized
;
30
35
BOOLEAN
g_RunningOnHypervisorEnvironment
;
36
42
BOOLEAN
g_ArchBasedLastBranchRecord
;
43
48
BOOLEAN
g_LastBranchRecordEnabled
;
49
54
LBR_STACK_ENTRY
*
g_LbrStateList
;
55
60
ULONGLONG
g_LbrCapacity
;
61
66
CPUID28_LEAFS
g_Cpuid28Leafs
;
67
72
UINT64
g_LbrFilterOptions
;
73
78
BOOLEAN
g_ProcessorTraceEnabled
;
79
84
PT_PER_CPU
*
g_PtStateList
;
85
95
PT_USER_MAPPING
g_PtUserMappings
[
PT_MAX_CPUS_FOR_MMAP
];
96
101
BOOLEAN
g_PtUserMappingsActive
;
CPUID28_LEAFS
struct _CPUID28_LEAFS CPUID28_LEAFS
BOOLEAN
UCHAR BOOLEAN
Definition
BasicTypes.h:35
LBR_STACK_ENTRY
struct _LBR_STACK_ENTRY LBR_STACK_ENTRY
The structure to hold the LBR stack for a single processor core, including the branch entries and the...
PT_PER_CPU
struct _PT_PER_CPU PT_PER_CPU
Per-CPU Intel PT state — one of these per logical processor.
PT_MAX_CPUS_FOR_MMAP
#define PT_MAX_CPUS_FOR_MMAP
Definition
PtDefinitions.h:60
HYPERTRACE_CALLBACKS
struct _HYPERTRACE_CALLBACKS HYPERTRACE_CALLBACKS
Prototype of each function needed by hypertrace module.
g_Callbacks
HYPEREVADE_CALLBACKS g_Callbacks
List of callbacks.
Definition
Transparency.h:23
g_RunningOnHypervisorEnvironment
BOOLEAN g_RunningOnHypervisorEnvironment
The flag indicating whether the initialization is being done for hypervisor environment or not.
Definition
GlobalVariables.h:35
PT_USER_MAPPING
struct _PT_USER_MAPPING PT_USER_MAPPING
Per-CPU bookkeeping for the user-mode mmap surface.
g_PtStateList
PT_PER_CPU * g_PtStateList
Dynamically allocated array of per-CPU Intel PT state. Sized to KeQueryActiveProcessorCount(0) at hyp...
Definition
GlobalVariables.h:84
g_LbrStateList
LBR_STACK_ENTRY * g_LbrStateList
This will be a dynamically allocated array to hold LBR states for each core.
Definition
GlobalVariables.h:54
g_ProcessorTraceEnabled
BOOLEAN g_ProcessorTraceEnabled
The flag indicating whether the hypertrace Processor Trace is initialized or not.
Definition
GlobalVariables.h:78
g_PtUserMappings
PT_USER_MAPPING g_PtUserMappings[PT_MAX_CPUS_FOR_MMAP]
Per-CPU MDL + user-mode VA for the PT mmap surface (main output buffer concatenated with the 4 KB ove...
Definition
GlobalVariables.h:95
g_LbrCapacity
ULONGLONG g_LbrCapacity
The global variable to hold the LBR capacity of the current CPU.
Definition
GlobalVariables.h:60
g_PtUserMappingsActive
BOOLEAN g_PtUserMappingsActive
Set while g_PtUserMappings holds live user mappings; cleared by PtUnmapAllCpuBuffersFromUser.
Definition
GlobalVariables.h:101
g_HyperTraceCallbacksInitialized
BOOLEAN g_HyperTraceCallbacksInitialized
The flag indicating whether the hypertrace module callbacks is initialized or not.
Definition
GlobalVariables.h:29
g_LastBranchRecordEnabled
BOOLEAN g_LastBranchRecordEnabled
The flag indicating whether the hypertrace LBR tracing is initialized or not.
Definition
GlobalVariables.h:48
g_ArchBasedLastBranchRecord
BOOLEAN g_ArchBasedLastBranchRecord
The flag indicating whether the architectural LBR is supported by the CPU or not if false it means th...
Definition
GlobalVariables.h:42
g_LbrFilterOptions
UINT64 g_LbrFilterOptions
The global variable to hold the current LBR filter options bitmask (for both architectural and legacy...
Definition
GlobalVariables.h:72
g_Cpuid28Leafs
CPUID28_LEAFS g_Cpuid28Leafs
The global variable to hold CPUID leaf 0x28 information (Architectural LBR Enumeration Leaf).
Definition
GlobalVariables.h:66
hyperdbg
hypertrace
header
globals
GlobalVariables.h
Generated by
1.17.0