TIB & FS, GS Segment Register
sum explanation TIB & FS, GS Segment Register TIB (Thread Information Block) TIB ← FS (x86) ← GS (x64) typedef struct _NT_TIB { PVOID ExceptionList; PVOID StackBase; PVOID StackLimit; PVOID SubSystemTib; PVOID FiberData; PVOID ArbitraryUserPointer; struct _NT_TIB *Self; } NT_TIB; typedef NT_TIB *PNT_TIB; is in WinNT.h Address Index ? typedef struct _NT_TIB x86 x64 { ------------ PVOID ExceptionList; 0x000 0x000 PVOID StackBase; 0x004 0x008 PVOID StackLimit; 0x008 0x010 PVOID SubSystemTib; 0x00C 0x018 PVOID FiberData; 0x010 0x020 PVOID ArbitraryUserPointer; 0x014 0x028 struct _NT_TIB *Self; 0x018 0x030 } NT_TIB; Real Address of TIB ? fs:[0x018] :x86 gs:[0x030] :x64