Repository navigation
rampage v1.9.0
Router and ESP32 firmware, two new ways for an agent to get answers it can trust, and analysis that is kept between sessions. Every feature in this release was also run on public firmware it was not built from (OpenWrt, MicroPython for ESP32/ESP8266, Debian mipsel zlib, an F-Droid APK pair); the report is in docs/benchmarks/acceptance-2026-11-20.md.
check_claim(core, experimental): check a claim before reporting it. Each claim comes back verified, refuted with a counterexample, or unknown with what would decide it.- Kinds: a function returns a value, computes a CRC/checksum/hash or expression, calls another function, references a string, holds a constant, or a region's checksum.
- A wrong claim is never verified, and every refutation carries a real counterexample.
diff_firmware(carvegroup, experimental): two versions of a device update in, one answer out.- Reports which files, functions, strings, endpoints and lock mechanisms changed.
- Works for filesystem images, Raw firmware, ESP images and APK/DEX pairs.
- MIPS (experimental):
- Position-independent Linux userland (routers, cameras), with
$gp/$t9tracking, the GOT and.MIPS.stubsnamed, andfind_main. - Raw MIPS32 profiles for boot ROMs.
- MIPS16e and microMIPS code is detected and reported as not decoded.
- Position-independent Linux userland (routers, cameras), with
- Xtensa and ESP (experimental):
- A native decoder for ESP32 (windowed ABI) and ESP8266 (call0).
- ESP app images and partition tables, including flash dumps that start at flash 0x1000.
- On the public ESP32 image, over 99% of functions were found and
app_mainwas located.
evaluate_function:- Runs SSE through AVX2 operations, takes float arguments and returns float results.
- Returns a step trace on request.
- Models
sprintf,strdupandoperator new. decompilenow points agents at it for small functions.
- Persistent analysis store keeps decompiled functions as well as discovery.
- A repeat decompile takes 27–170 ms instead of 0.5–6.4 s.
find_mainon a 26 MB Go binary drops from 8.4 s to 67 ms.- Decoded Cortex-M update images are stored too.
- A comment keeps stored results; other edits recompute them.
rampage server store [--clear]shows or clears the store.
- Large Cortex-M images now decompile through the worker. This previously failed with "JSON wire depth/node limit exceeded" (worker protocol 15).
- Faster after patch tools: once
patch_bytesorintegrity_checkshad run, every edit rediscovered every function. That cost 15–19 s per call on a 3.7 MB image and no longer happens. - Fixes from the acceptance pass: zlib-style CRC argument order in
check_claim, ESP flash base, the OpenWrt UBI end marker, uImage notes, and paging indiff_firmware.
Known gaps, recorded in docs/known-limits.md:
- ELF files without section headers show no exports, which affects most OpenWrt libraries.
- MIPS16e is not decoded yet.
diff_firmwareon Xtensa counts code that only moved as changed.
See CHANGELOG.md for the full list.