From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:Dart AOT snapshot" |
|---|
| claim | "A Dart snapshot starts with int32 magic 0xdcdcf5f5 (bytes F5 F5 DC DC), then int64 length (without the magic) at offset 4 and int64 kind at offset 12 (kFull 0, kFullJIT 1, kFullAOT 2, kModule 3); the 20-byte header is followed by the 32-hex-character snapshot hash." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Dart AOT snapshot" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "F5 F5 DC DC" |
|---|
| offset | 0 |
|---|
| meaning | "Dart VM snapshot magic; length at 4, kind at 12, header size 20, then the snapshot hash string" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Snapshot::Kind enum and kMagicValue/offset constants" |
|---|
| repo | "https://github.com/dart-lang/sdk" |
|---|
| commit | "689733bf0d0c33d3e0061b92dba77cb3e04cbeb2" |
|---|
| path | "runtime/vm/snapshot.h" |
|---|
| lines | "24-41" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T11:24:07.722Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T02:05:42.404Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read runtime/vm/snapshot.h at dart-lang/sdk 689733bf: kMagicValue 0xdcdcf5f5, kMagicOffset 0, int32 read in host order (LE bytes F5 F5 DC DC), length int64 at 4, kind int64 at 12." |
|---|
| notes | "Little-endian hosts only; the int32 is host order." |
|---|
|
|
|---|