From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:PE (Portable Executable)" |
|---|
| claim | "The load config directory starts with a dword Size and grows with each Windows release; in PE32+ SecurityCookie is at 0x58, GuardCFFunctionTable at 0x80, GuardFlags at 0x90 and the full structure is 0x140 bytes; all pointers are VAs." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:PE (Portable Executable)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "IMAGE_LOAD_CONFIG_DIRECTORY64" |
|---|
| size | 320 |
|---|
| fields | | offset | 0 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "Size" |
|---|
|
| offset | 4 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "TimeDateStamp" |
|---|
|
| offset | 12 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "GlobalFlagsClear" |
|---|
|
| offset | 16 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "GlobalFlagsSet" |
|---|
|
| offset | 88 |
|---|
| size | 8 |
|---|
| type | "VA" |
|---|
| name | "SecurityCookie" |
|---|
|
| offset | 96 |
|---|
| size | 8 |
|---|
| type | "VA" |
|---|
| name | "SEHandlerTable" |
|---|
|
| offset | 104 |
|---|
| size | 8 |
|---|
| type | "uint64" |
|---|
| name | "SEHandlerCount" |
|---|
|
| offset | 112 |
|---|
| size | 8 |
|---|
| type | "VA" |
|---|
| name | "GuardCFCheckFunctionPointer" |
|---|
|
| offset | 120 |
|---|
| size | 8 |
|---|
| type | "VA" |
|---|
| name | "GuardCFDispatchFunctionPointer" |
|---|
|
| offset | 128 |
|---|
| size | 8 |
|---|
| type | "VA" |
|---|
| name | "GuardCFFunctionTable" |
|---|
|
| offset | 136 |
|---|
| size | 8 |
|---|
| type | "uint64" |
|---|
| name | "GuardCFFunctionCount" |
|---|
|
| offset | 144 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "GuardFlags" |
|---|
|
| offset | 148 |
|---|
| size | 12 |
|---|
| type | "struct" |
|---|
| name | "CodeIntegrity" |
|---|
| notes | "Flags u16, Catalog u16, CatalogOffset u32, Reserved u32" |
|---|
|
| offset | 160 |
|---|
| size | 8 |
|---|
| type | "VA" |
|---|
| name | "GuardAddressTakenIatEntryTable" |
|---|
|
| offset | 192 |
|---|
| size | 8 |
|---|
| type | "VA" |
|---|
| name | "DynamicValueRelocTable" |
|---|
|
| offset | 264 |
|---|
| size | 8 |
|---|
| type | "VA" |
|---|
| name | "GuardEHContinuationTable" |
|---|
|
| offset | 312 |
|---|
| size | 8 |
|---|
| type | "VA" |
|---|
| name | "GuardMemcpyFunctionPointer" |
|---|
|
|
|---|
| endianness | "little" |
|---|
| variant | "fields exist only up to the dword Size at offset 0; older images have a shorter structure (0x140 is the full layout in Wine's winnt.h); the field array lists only the commonly used members" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "IMAGE_LOAD_CONFIG_DIRECTORY64 field order and widths (offsets computed from it; its own comments give 0x90 GuardFlags, 0x0a0 GuardAddressTakenIatEntryTable)" |
|---|
| repo | "https://github.com/wine-mirror/wine" |
|---|
| commit | "7298a818b79446bae153b8d5aa27235ab3703bf9" |
|---|
| path | "include/winnt.h" |
|---|
| lines | "4111-4161" |
|---|
|
| type | "source" |
|---|
| detail | "__IMAGE_LOAD_CONFIG_DIRECTORY64_format__" |
|---|
| repo | "https://github.com/erocarrera/pefile" |
|---|
| commit | "58186a92164842cf758822e067bc79c59b3c80d9" |
|---|
| path | "pefile.py" |
|---|
| lines | "2795-2870" |
|---|
|
| type | "source" |
|---|
| detail | "Field order and the offset comments (000, 010, ... 130) of the 64-bit struct re-read; offsets 0x58/0x60/0x68/0x70/0x78/0x80/0x88/0x90/0x94/0xA0/0xC0/0x108/0x138 derived from them, last field ends at 0x140." |
|---|
| repo | "https://github.com/wine-mirror/wine" |
|---|
| commit | "7298a818b79446bae153b8d5aa27235ab3703bf9" |
|---|
| path | "include/winnt.h" |
|---|
| lines | "4111-4161" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "IMAGE_LOAD_CONFIG_DIRECTORY64" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T08:09:42.744Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-18T22:35:54.387Z" |
|---|
| summary | "Raise to high: re-read IMAGE_LOAD_CONFIG_DIRECTORY64 in Wine winnt.h at the cited commit; its offset comments confirm SecurityCookie 0x58, GuardCFFunctionTable 0x80, GuardFlags 0x90 (CodeIntegrity…" |
|---|
| changed | |
|---|
|
| by | "PatientStepper99" |
|---|
| date | "2026-10-19T16:39:50.501Z" |
|---|
| summary | "Byte order missing (little) and the field list is partial: Wine lists MajorVersion/MinorVersion (0x08/0x0A), CriticalSectionDefaultTimeout (0x14)…" |
|---|
| changed | |
|---|
|
|
|---|