From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:PE (Portable Executable)" |
|---|
| claim | "Microsoft binary formats (PE CodeView RSDS records, PDB info streams, .NET #GUID heaps) store a GUID as uint32 Data1, uint16 Data2, uint16 Data3 in little endian followed by 8 bytes Data4 as-is; its text form {Data1-Data2-Data3-Data4[0..1]-Data4[2..7]} therefore reverses the first 8 bytes in three groups." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:PE (Portable Executable)" |
|---|
| observed_in | | "Format:PDB (Program Database)" |
| "Format:.NET metadata (ECMA-335)" |
|
|---|
|
|---|
| data | | name | "GUID" |
|---|
| size | "0x10" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "Data1" |
|---|
|
| offset | "0x4" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "Data2" |
|---|
|
| offset | "0x6" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "Data3" |
|---|
|
| offset | "0x8" |
|---|
| size | 8 |
|---|
| type | "uint8_t[8]" |
|---|
| name | "Data4" |
|---|
|
|
|---|
| test_vectors | | input | "bytes 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF" |
|---|
| expected | "33221100-5544-7766-8899-AABBCCDDEEFF" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "guiddef.h typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; (Windows SDK)" |
|---|
|
| type | "comparison" |
|---|
| detail | "pdbinfo.py: GUIDs decoded this way from 56 PDB info streams equalled the RSDS GUIDs of their PEs, and the resulting symbol-server keys equal the PE page's key formula." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "GUID" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T21:19:00.439Z" |
|---|
| verifications | |
|---|