From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:VDEX" |
|---|
| claim | "In the current ART VDEX (version string '027\0'), the 12-byte VdexFileHeader (magic 'vdex', version[4], u32 number_of_sections) is followed by number_of_sections VdexSectionHeader entries {u32 kind, u32 offset, u32 size}; kinds are 0 checksum (u32 per dex), 1 dex files, 2 verifier deps, 3 type lookup table. The old quickening-info section is gone." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:VDEX" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "VdexFileHeader" |
|---|
| size | 12 |
|---|
| fields | | offset | "0x00" |
|---|
| type | "char[4]" |
|---|
| name | "magic" |
|---|
| meaning | "vdex" |
|---|
|
| offset | "0x04" |
|---|
| type | "char[4]" |
|---|
| name | "vdex_version" |
|---|
| meaning | "027\0 in ART main" |
|---|
|
| offset | "0x08" |
|---|
| type | "u32" |
|---|
| name | "number_of_sections" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "File format comment, VdexSection enum (kChecksumSection..kTypeLookupTableSection), VdexSectionHeader, VdexFileHeader with kVdexVersion {'0','2','7','\0'} ('Last update: Introduce vdex sections')." |
|---|
| repo | "https://android.googlesource.com/platform/art" |
|---|
| commit | "6484611fd45e69db9f33f98bfd6864014b030ecf" |
|---|
| path | "runtime/vdex_file.h" |
|---|
| lines | "48-134" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "VDEX header version 027 with sections" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T22:35:06.293Z" |
|---|
| verifications | |
|---|