From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:OAT" |
|---|
| claim | "The OAT header in ART main starts with 'oat\n' and version '259\0' (comment: last change ensure oat checksum determinism across hosts and devices); the key/value store now also holds bootclasspath-checksums and apex-versions keys." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:OAT" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "6F 61 74 0A 32 35 39 00" |
|---|
| offset | 0 |
|---|
| meaning | "oat header magic and version 259 (ART main at the commit in evidence); the number rises with each format change, so read it, do not hard-code" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "kOatMagic, kOatVersion {'2','5','9','\0'}, key constants kBootClassPathChecksumsKey, kApexVersionsKey." |
|---|
| repo | "https://android.googlesource.com/platform/art" |
|---|
| commit | "6484611fd45e69db9f33f98bfd6864014b030ecf" |
|---|
| path | "runtime/oat/oat.h" |
|---|
| lines | "49-60" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "OAT version 259 in ART main" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T22:35:06.400Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:56:55.777Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read ART runtime/oat/oat.h (googlesource, same commit) lines 49-60: kOatMagic {'o','a','t','\n'}, kOatVersion {'2','5','9','\0'}, comment 'Ensure oat checksum determinism across hosts and devices', keys bootclasspath-checksums and apex-versions" |
|---|
|
|
|---|