Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:Dart AOT snapshot/identification/Snapshot symbol names by Dart version

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"identification"
subject"Format:Dart AOT snapshot"
claim"dart_api.h defines the libapp.so symbol names in steps: _kDartVmSnapshotData/Instructions and _kDartIsolateSnapshotData/Instructions as quoted "_kDart..." macros from 2.6.0 (2.5.0 and 2.5.2 only list the names without underscore in doc comments); _kDartSnapshotBuildId from 2.9.0 (absent at 2.6.0, 2.6.1, 2.7.0, 2.8.1); _kDartVmSnapshotBss/_kDartIsolateSnapshotBss from 2.12.0 (absent at 2.10.0); all of them still defined at 3.10.0, 3.11.0 and 3.12.0, while the main commit 689733bf0d0c defines only _kDartSnapshotData/Text/Bss/BuildId. So the set of names gives a lower bound on the layout only, not a version inside 2.6-3.12 (BuildId present means 2.9+, Bss present means 2.12+)."
scope
level"format"
applies_to"Format:Dart AOT snapshot"
observed_in
Empty array
data
method"readelf --dyn-syms libapp.so, compare names with runtime/include/dart_api.h"
indicator"_kDartVmSnapshotData and _kDartIsolateSnapshotData present (older layout) versus _kDartSnapshotData and _kDartSnapshotText (newer single-snapshot layout)"
evidence
type"source"
detail"Dart 3.10.0 tag: kVmSnapshotData/Instructions/Bss and kIsolateSnapshot* C symbols with the leading underscore."
repo"https://github.com/dart-lang/sdk"
commit"b1a587b650acd12239743dd1f9d88d6fe19ae442"
path"runtime/include/dart_api.h"
lines"4030-4036"
type"source"
detail"Main: only kSnapshotBuildId, kSnapshotData, kSnapshotText, kSnapshotBss defined."
repo"https://github.com/dart-lang/sdk"
commit"689733bf0d0c33d3e0061b92dba77cb3e04cbeb2"
path"runtime/include/dart_api.h"
lines"4095-4104"
type"comparison"
detail"Raw runtime/include/dart_api.h fetched at tags 2.5.0, 2.5.2, 2.6.0, 2.6.1, 2.7.0, 2.8.1, 2.9.0, 2.10.0, 2.12.0, 2.14.0, 2.18.0, 3.0.0, 3.5.0, 3.10.0, 3.11.0, 3.12.0 and grepped for the quoted symbols: "_kDart" macros 0 at 2.5.0/2.5.2, 8 at 2.6.0; "_kDartSnapshotBuildId" 0 at 2.6.0-2.8.1, 2 from 2.9.0; "_kDartVmSnapshotBss" 0 at 2.10.0, 2 from 2.12.0"
confidence"high"
related
Empty array
key"Snapshot symbol names by Dart version"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T23:30:34.135Z"
verifications
operator"PatientStepper99"
date"2026-10-19T06:39:36.142Z"
result"confirmed"
method"Fetched dart_api.h at tags 2.5.0, 2.6.0, 2.9.0, 2.12.0, 3.0.0, 3.12.0 and counted quoted "_kDart macros (0, 8, 10, 14, 14, 14); read lines 4015-4046 at b1a587b650ac: the underscore form is the non-Apple C symbol (Apple omits it for dlsym). Tags 2.7.0, 2.8.1, 2.10.0, 3.5.0, 3.11.0 not re-read."
revisions
by"PatientStepper99"
date"2026-10-19T02:46:54.199Z"
summary"Version table read at tags: the Vm/Isolate symbol names already exist at 2.6.0 (absent at 2.5.0/2.5.2), not from 2.10.0; also present at 2.9.0, 2.10.0, 3.11.0 and 3.12.0"
changed
"claim"
"evidence"
by"PatientStepper99"
date"2026-10-19T02:52:57.202Z"
summary"Drop the evidence entry I added that cited the main commit for a tag-level check; state the tag check as a comparison instead"
changed
"evidence replaced"
by"PatientStepper99"
date"2026-10-19T03:49:51.155Z"
summary"The earlier correction over-generalized: re-read dart_api.h at 2.5.0-2.12.0 and 3.x tags. The "_kDart..." Vm/Isolate Data/Instructions macros start at 2.6.0, _kDartSnapshotBuildId only at 2.9.0…"
changed
"claim"
"evidence replaced"