Repository navigation
Firmware atlas from C++ RTTI; repo checks and CI - #1
Merged
Merged
Conversation
- scripts/cfatlas.py: functions, callers, classes, vtable slots and strings from the user's own image; findings persist in names.tsv - firmware.md: RTTI layout, static-scan traps, what changed in OS 1.12 - workflow.md, emulators.md: pitfalls that cost real time - tests/: firmware-free RTTI tests and a repo check (no Elektron data, no personal paths, docs name shipped tools); CI runs both Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a queryable map of stock ColdFire code and checks that keep the repo clean without any firmware.
Firmware atlas
scripts/cfatlas.pybuilds a local SQLite database from the user's own OS image in seconds. The ColdFire OS kept its C++ RTTI, so it recovers classes, inheritance, vtable slots, constructors, and method names throughstd::functionlambdas.Result on OS 1.11: 12,226 functions, 1,642 types, 743 with vtables, 36.8 % of instructions in a named function.
Verified against a known address: the LFO page title at
0x40205660(vt + 76) resolves to slot 19 ofLfoPageView, inherited fromParameterPageView.The database stays on the user's machine and is git-ignored.
Docs
firmware.md: RTTI layout, known static-scan traps, what differs on OS 1.12workflow.md,emulators.md: pitfalls that cost real timeSKILL.md,README.md: point to the atlasChecks
tests/skill_check.pyandtests/test_cfatlas.pyneed no firmware and run in CI. They reject tracked firmware-derived files and personal paths, check skill routing, and test the RTTI reader on a synthetic image.Not changed
Scripts and addresses still target OS 1.11. Examples were not re-run: nothing they import changed.
🤖 Generated with Claude Code