HyperDbg Debugger
Loading...
Searching...
No Matches
GlobalVariables.h
Go to the documentation of this file.
1
13#pragma once
14
16// Global Variables //
18
24
30
36
43
49
55
60ULONGLONG g_LbrCapacity;
61
67
73
79
85
96
struct _CPUID28_LEAFS CPUID28_LEAFS
UCHAR BOOLEAN
Definition BasicTypes.h:35
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...
struct _PT_PER_CPU PT_PER_CPU
Per-CPU Intel PT state — one of these per logical processor.
#define PT_MAX_CPUS_FOR_MMAP
Definition PtDefinitions.h:60
struct _HYPERTRACE_CALLBACKS HYPERTRACE_CALLBACKS
Prototype of each function needed by hypertrace module.
HYPEREVADE_CALLBACKS g_Callbacks
List of callbacks.
Definition Transparency.h:23
BOOLEAN g_RunningOnHypervisorEnvironment
The flag indicating whether the initialization is being done for hypervisor environment or not.
Definition GlobalVariables.h:35
struct _PT_USER_MAPPING PT_USER_MAPPING
Per-CPU bookkeeping for the user-mode mmap surface.
PT_PER_CPU * g_PtStateList
Dynamically allocated array of per-CPU Intel PT state. Sized to KeQueryActiveProcessorCount(0) at hyp...
Definition GlobalVariables.h:84
LBR_STACK_ENTRY * g_LbrStateList
This will be a dynamically allocated array to hold LBR states for each core.
Definition GlobalVariables.h:54
BOOLEAN g_ProcessorTraceEnabled
The flag indicating whether the hypertrace Processor Trace is initialized or not.
Definition GlobalVariables.h:78
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
ULONGLONG g_LbrCapacity
The global variable to hold the LBR capacity of the current CPU.
Definition GlobalVariables.h:60
BOOLEAN g_PtUserMappingsActive
Set while g_PtUserMappings holds live user mappings; cleared by PtUnmapAllCpuBuffersFromUser.
Definition GlobalVariables.h:101
BOOLEAN g_HyperTraceCallbacksInitialized
The flag indicating whether the hypertrace module callbacks is initialized or not.
Definition GlobalVariables.h:29
BOOLEAN g_LastBranchRecordEnabled
The flag indicating whether the hypertrace LBR tracing is initialized or not.
Definition GlobalVariables.h:48
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
UINT64 g_LbrFilterOptions
The global variable to hold the current LBR filter options bitmask (for both architectural and legacy...
Definition GlobalVariables.h:72
CPUID28_LEAFS g_Cpuid28Leafs
The global variable to hold CPUID leaf 0x28 information (Architectural LBR Enumeration Leaf).
Definition GlobalVariables.h:66