From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:IDA database (IDB, I64)" |
|---|
| claim | "The id0 section of an IDB is a B-tree whose header ends in the signature string 'B-tree v2' (newer) or 'B-tree v 1.6 (C) Pol 1990' (older) at offset 19 of the section." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "id0 section content after zlib decompression" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "42 2D 74 72 65 65 20 76 32" |
|---|
| offset | "0x13" |
|---|
| relative_to | "start of the (decompressed) id0 section" |
|---|
| meaning | "B-tree v2 signature of id0" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "class ID0: fields next_free_offset u32, page_size u16, root_page u32, record_count u32, page_count u32, unk12 u8, then signature" |
|---|
| repo | "https://github.com/williballenthin/python-idb" |
|---|
| commit | "5a313f27cf6200e2454eb08ef3b557227fc2e9d7" |
|---|
| path | "idb/fileformat.py" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "id0 B-tree signature" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T18:45:30.430Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T08:59:08.611Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read python-idb fileformat.py at the cited commit: ID0 header fields u32+u16+u32+u32+u32+u8 = 19 bytes, then signature field sized for the longer of b'B-tree v 1.6 (C) Pol 1990' and b'B-tree v2'; validate matches SignaturePattern." |
|---|
|
|
|---|