From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:IDA database (IDB, I64)" |
|---|
| claim | "Header of an IDB/I64 with version word 6: signature, six 64-bit section offsets (id0, id1, nam, seg, til, id2 in that order) and six checksums; each section starts with a compression byte (0 or 2 = zlib) and a 64-bit length." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "version word 6 (64-bit offsets); version 4 uses 32-bit offsets, see the page" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "IdbHeaderV6" |
|---|
| size | "0x58" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "char[4]" |
|---|
| name | "signature" |
|---|
| notes | "IDA0, IDA1 or IDA2" |
|---|
|
| offset | "0x4" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "unk04" |
|---|
|
| offset | "0x6" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "id0_offset" |
|---|
|
| offset | "0xE" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "id1_offset" |
|---|
|
| offset | "0x16" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "unk16" |
|---|
|
| offset | "0x1A" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "sig2" |
|---|
| notes | "0xAABBCCDD" |
|---|
|
| offset | "0x1E" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "version" |
|---|
|
| offset | "0x20" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "nam_offset" |
|---|
|
| offset | "0x28" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "seg_offset" |
|---|
|
| offset | "0x30" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "til_offset" |
|---|
|
| offset | "0x38" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "checksum1" |
|---|
|
| offset | "0x3C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "checksum2" |
|---|
|
| offset | "0x40" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "checksum3" |
|---|
|
| offset | "0x44" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "checksum4" |
|---|
|
| offset | "0x48" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "checksum5" |
|---|
|
| offset | "0x4C" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "id2_offset" |
|---|
|
| offset | "0x54" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "checksum6" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "FileHeader.__init__ (else branch for version > 4), SectionHeader, SECTIONS list order id0,id1,nam,seg,til,id2" |
|---|
| repo | "https://github.com/williballenthin/python-idb" |
|---|
| commit | "5a313f27cf6200e2454eb08ef3b557227fc2e9d7" |
|---|
| path | "idb/fileformat.py" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "IDB file header (version 6)" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T18:45:30.358Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T12:11:55.508Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read python-idb idb/fileformat.py at 5a313f2: FileHeader else-branch (version > 4) field order and widths give offsets 0x6, 0xE, 0x16, 0x1A, 0x1E, 0x20, 0x28, 0x30, checksums 0x38-0x48, offset6 0x4C, checksum6 0x54, total 0x58; SECTIONS order id0,id1,nam,seg,til,id2; SectionHeader u8 compression + u64 length. Nuance: the code treats any nonzero compression byte as zlib (constants NONE=0, ZLIB=2)." |
|---|
|
|
|---|