From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:ART baseline profile" |
|---|
| claim | "ART/androidx profile files start with the 4 bytes 'pro' + NUL, followed by a 4-byte ASCII version; the metadata companion (.profm) starts with 'prm' + NUL." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:ART baseline profile" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "70 72 6F 00" |
|---|
| offset | 0 |
|---|
| meaning | "baseline.prof / primary.prof magic (profm uses 70 72 6D 00)" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "MAGIC_PROF and MAGIC_PROFM byte arrays" |
|---|
| repo | "https://github.com/androidx/androidx" |
|---|
| commit | "0e2330e89a086173c5841cadb6604cc6b6b6c176" |
|---|
| path | "profileinstaller/profileinstaller/src/main/java/androidx/profileinstaller/ProfileTranscoder.java" |
|---|
| lines | "67-68" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T20:34:53.511Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:29:00.245Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read ProfileTranscoder.java at the cited commit: MAGIC_PROF = 'p','r','o',0 and MAGIC_PROFM = 'p','r','m',0; readHeader reads magic.length bytes, throws 'Invalid magic' on mismatch, then reads the version (ProfileVersion.V010_P.length bytes)" |
|---|
|
|
|---|