x64x86arm64 / ntdllntoskrnl

_HEAP_SEG_CONTEXT

← first 1 build latest →
struct _HEAP_SEG_CONTEXT {
unsigned __int64 SegmentMask;/* 0x0 8 */
unsigned char UnitShift;/* 0x8 1 */
unsigned char PagesPerUnitShift;/* 0x9 1 */
unsigned char FirstDescriptorIndex;/* 0xa 1 */
unsigned char CachedCommitSoftShift;/* 0xb 1 */
unsigned char CachedCommitHighShift;/* 0xc 1 */
union {
struct {
unsigned char LargePagePolicy : 3;/* 0xd:0 1 */
unsigned char FullDecommit : 1;/* 0xd:3 1 */
unsigned char ReleaseEmptySegments : 1;/* 0xd:4 1 */
};/* 0xd 1 */
unsigned char AllFlags;/* 0xd 1 */
} Flags;/* 0xd 1 */
/* 2 bytes padding */
unsigned long MaxAllocationSize;/* 0x10 4 */
short OlpStatsOffset;/* 0x14 2 */
short MemStatsOffset;/* 0x16 2 */
void* LfhContext;/* 0x18 8 */
void* VsContext;/* 0x20 8 */
void* Heap;/* 0x38 8 */
/* ── cacheline 1 boundary (64 bytes) ── */
unsigned __int64 SegmentLock;/* 0x40 8 */
unsigned __int64 SegmentCount;/* 0x58 8 */
unsigned __int64 FreeSegmentListLock;/* 0x70 8 */
};
size 192 (0xc0)20 members1 hole (2 bytes)padding 563 cachelines
Used in (1)