From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Library:Microsoft Detours" |
|---|
| claim | "The .detour section starts with a 64-byte DETOUR_SECTION_HEADER of sixteen DWORDs whose nSignature is 0x00727444 (Dtr\0); it records the original import, bound import, IAT, image size and CLR data so Detours can restore them." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Microsoft Detours" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "DETOUR_SECTION_HEADER" |
|---|
| size | 64 |
|---|
| alignment | 8 |
|---|
| fields | | offset | 0 |
|---|
| name | "cbHeaderSize" |
|---|
| type | "uint32" |
|---|
|
| offset | 4 |
|---|
| name | "nSignature" |
|---|
| type | "uint32" |
|---|
| meaning | "0x00727444" |
|---|
|
| offset | 8 |
|---|
| name | "nDataOffset" |
|---|
| type | "uint32" |
|---|
|
| offset | 12 |
|---|
| name | "cbDataSize" |
|---|
| type | "uint32" |
|---|
|
| offset | 16 |
|---|
| name | "nOriginalImportVirtualAddress" |
|---|
| type | "uint32" |
|---|
|
| offset | 20 |
|---|
| name | "nOriginalImportSize" |
|---|
| type | "uint32" |
|---|
|
| offset | 24 |
|---|
| name | "nOriginalBoundImportVirtualAddress" |
|---|
| type | "uint32" |
|---|
|
| offset | 28 |
|---|
| name | "nOriginalBoundImportSize" |
|---|
| type | "uint32" |
|---|
|
| offset | 32 |
|---|
| name | "nOriginalIatVirtualAddress" |
|---|
| type | "uint32" |
|---|
|
| offset | 36 |
|---|
| name | "nOriginalIatSize" |
|---|
| type | "uint32" |
|---|
|
| offset | 40 |
|---|
| name | "nOriginalSizeOfImage" |
|---|
| type | "uint32" |
|---|
|
| offset | 44 |
|---|
| name | "cbPrePE" |
|---|
| type | "uint32" |
|---|
| meaning | "bytes of saved pre-PE data that follow the header" |
|---|
|
| offset | 48 |
|---|
| name | "nOriginalClrFlags" |
|---|
| type | "uint32" |
|---|
|
| offset | 52 |
|---|
| name | "reserved1" |
|---|
| type | "uint32" |
|---|
|
| offset | 56 |
|---|
| name | "reserved2" |
|---|
| type | "uint32" |
|---|
|
| offset | 60 |
|---|
| name | "reserved3" |
|---|
| type | "uint32" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "struct and signature constant" |
|---|
| repo | "https://github.com/microsoft/Detours" |
|---|
| commit | "1dbd4ea281d73d478aa8d09a8b83fbd265f715f7" |
|---|
| path | "src/detours.h" |
|---|
| lines | "382-420" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "DETOUR_SECTION_HEADER" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T07:03:59.639Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T06:20:03.795Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read src/detours.h at 1dbd4ea281d7 lines ~382-420: sixteen DWORDs in the order given (cbHeaderSize ... reserved3) under #pragma pack(push, 8); DETOUR_SECTION_HEADER_SIGNATURE 0x00727444. Offsets and size 64 match." |
|---|
|
|
|---|