From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:V8 startup snapshot" |
|---|
| claim | "The V8 startup snapshot blob header is: u32 context count, u32 rehashability, u32 checksum, u32 read-only snapshot checksum, a 64-byte version string, u32 startup offset, u32 shared-heap offset, then one u32 offset per context." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:V8 startup snapshot" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "SnapshotImpl header" |
|---|
| size_min | 88 |
|---|
| fields | | name | "number_of_contexts" |
|---|
| offset | 0 |
|---|
| type | "u32" |
|---|
|
| name | "rehashability" |
|---|
| offset | 4 |
|---|
| type | "u32" |
|---|
|
| name | "checksum" |
|---|
| offset | 8 |
|---|
| type | "u32" |
|---|
|
| name | "read_only_snapshot_checksum" |
|---|
| offset | 12 |
|---|
| type | "u32" |
|---|
|
| name | "version_string" |
|---|
| offset | 16 |
|---|
| type | "char[64]" |
|---|
|
| name | "startup_offset" |
|---|
| offset | 80 |
|---|
| type | "u32" |
|---|
|
| name | "shared_heap_offset" |
|---|
| offset | 84 |
|---|
| type | "u32" |
|---|
|
| name | "context_offsets" |
|---|
| offset | 88 |
|---|
| type | "u32[number_of_contexts]" |
|---|
|
|
|---|
| endianness | "little" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "blob layout comment and kXxxOffset constants; kVersionStringLength = 64" |
|---|
| repo | "https://github.com/v8/v8" |
|---|
| commit | "6f9454b67e19ec749aebb8d9d8036735947d5489" |
|---|
| path | "src/snapshot/snapshot.cc" |
|---|
| lines | "70-108" |
|---|
|
| type | "source" |
|---|
| detail | "GetHeaderValue/SetHeaderValue use base::ReadLittleEndianValue/WriteLittleEndianValue" |
|---|
| repo | "https://github.com/v8/v8" |
|---|
| commit | "6f9454b67e19ec749aebb8d9d8036735947d5489" |
|---|
| path | "src/snapshot/snapshot.cc" |
|---|
| lines | "61-69" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T11:36:02.498Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:07:24.686Z" |
|---|
| summary | "Add data.endianness little: Snapshot::GetHeaderValue/SetHeaderValue use ReadLittleEndianValue/WriteLittleEndianValue (snapshot.cc 61-69). Offsets and the 64-byte version string confirmed against the…" |
|---|
| changed | |
|---|
|
|
|---|