Skip to content

Releases

rampage v1.20.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 00:03

Firmware

  • Raw projects: a code region the program writes is writable for the decompiler, so a Cortex-M application that runs
    from RAM no longer gets Read-only address is written on its global stores, and reads of its globals are no
    longer folded into the values the image holds; its function bodies, literal pools and strings stay read-only, so
    constants, calls, switch tables and string literals still fold (an initialised char array stays writable). A
    Cortex-M code region (primary, further code region or record run) is writable when mapped in SRAM (0x20000000 to
    0x3fffffff), and a decoded primary region when at least two functions store into it outside their bodies. The
    raw selector states it with writable (Cortex-M only; on the selector for the primary region, on a regions
    entry for a code region); true on data and false on ram are refused. binary_info reports writable
    and writable_reason on each region. Flash mappings, other profiles and native images decompile as before.
  • xrefs and search references find loads and stores that reach a structure field through a base register plus
    an immediate offset (ldr r1, =0x20001234 then ldrb r0, [r1, #11], a MOVW/MOVT base, a Thumb adds on the
    base), with evidence on each row: base (the instruction that set the base, the base address, the offset and the
    access width) and access (read or write). On ARM and Thumb the base is followed across a function's
    branches and loops when every path into the access sets the same base; MIPS and RISC-V bases (a completed
    address pair or a GOT load) within a straight-line run. In a Raw Cortex-M project a field in unmapped RAM or
    peripheral space is listed too. The CLI's function xrefs prints the evidence. New fixture
    tests/fixtures/firmware/raw-cortex-m-fields.bin.
  • Discovery resolves base-plus-offset field references into unmapped RAM and peripheral space for an ELF whose
    build attributes say M-profile, as it did for Raw Cortex-M projects.
  • peripheral_map (MCP group types, Raw-capable; CLI binary peripheral-map) maps which code touches which
    memory-mapped peripheral without an SVD, from load and store instructions only (base-plus-offset field references
    and the constant-address access scan), so literal-pool words and tables never dereferenced stay out. Accesses in
    device space (Cortex-M peripheral, external device and private peripheral bus regions; MIPS32 kseg1; Xtensa ESP
    peripheral windows; any imported SVD peripheral) are grouped into blocks: the SVD peripheral, an architectural
    Cortex-M core block (SCB, NVIC, SysTick, MPU, DWT, ...) with register names, or the 1 KiB window of the base
    register's value. Counts first, then per block the offsets with read/write, width and functions, or with
    by_function per function the blocks and offsets it touches; filters by function and address range, paging, and
    a next naming the function writing the most registers. Misaligned accesses and "functions" that are data
    decoded as code are left out; Cortex-M bit-band alias stores count at the word and bit they reach. Raw and ELF
    Cortex-M images; a hosted binary gets an empty map with a note. peripheral_access now counts the same
    accesses. New fixture tests/fixtures/firmware/raw-cortex-m-peripherals.bin.
  • Raw Cortex-M: a vector table the program fills in RAM the image has no bytes for (often reserved just below the
    copied code) and then installs through VTOR is read from the stores the reset-code follow saw, running on into
    mapped bytes after them, judged as the reset-time table is (an initial SP in RAM and an accepted Thumb Reset
    handler, or Reset and two more handlers in mapped code), and its handlers are seeded. raw.scatter_load reports
    vector_table_bytes (mapped or stored); a table nothing in the follow fills is still refused, and
    vector_table_refused names the mapped region that begins less than one table above it. New fixture
    tests/fixtures/firmware/raw-cortex-m-scatter-vtor.bin.
  • Raw Cortex-M: when vector_table is refused (an image that starts with code), binary_info adds a warnings line
    and list_functions a next saying to reopen without vector_table and with entry, and what the refusal cost
    (no entry, so the reset code and its startup copies are not followed). Given entry, only the warning remains,
    saying to drop vector_table. The CLI's function list prints next.

Object files and archives

  • ELF relocatable objects (.o) load as IDA loads them: allocated sections are laid out from 0x10000, each aligned,
    undefined symbols get named slots in an extern segment (imports; functions where a call reaches them), common
    symbols a COMMON segment and GOT references a synthetic .got, and relocations are applied into a loaded copy
    for x86, x86-64, AArch64, ARM/Thumb (with bl/blx interworking), MIPS (HI16/LO16 pairing, _gp_disp, GOT16
    pages, CALL16) and RISC-V (PCREL HI20/LO12 pairs, CALL, ADD/SUB/SET), REL and RELA alike. Unapplied types are
    reported once per type. Functions, xrefs, strings, disassembly and decompiled C now work on objects: xrefs rows
    carry the relocation (type, symbol, addend) applied at the referencing instruction, binary_info reports the
    layout under relocatable, and the decompiler names externs, treats a jump to one (conditional or not) as a
    call followed by a return, binds GOT entries of local functions and folds an object's read-only data except
    fields whose relocation was left unapplied. Applied fields match ld.lld's at the same layout on the fixtures.
    Before, an object listed no functions and could not be disassembled or decompiled.
  • COFF objects (.obj: x64, x86, ARM64, Thumb-2, big objects too) and Mach-O MH_OBJECT objects (x86-64, arm64)
    load the same way. COFF: addends read from the field, __imp_X pointers as slots of a synthetic .idata import
    table holding the extern X (so calls through them decompile by name), weak externals resolved to their default,
    COMDAT, debug and directive sections handled (binary_info reports comdats and the .drectve directives),
    image base 0 for ADDR32NB, .pdata entries seeding function starts (SEH funclets); the format is pe. Mach-O:
    sections keep their own addresses moved by the base, SUBTRACTOR (a section-relative minuend too) and ADDEND
    pairs, a synthetic __got. COFF and Mach-O function symbols are sized to the next symbol in their section, so
    objects and libraries build signatures. Every relocation of the fixtures references the same symbol plus addend
    in rampage's image as in lld-link's or ld64.lld's output.
  • Static libraries: a member of a GNU or BSD ar archive opens in any tool as lib.a(member.o) (member.o#N
    where names repeat), as the embedded image at its location, with its own annotations and cache entry;
    binary_info reports archive_member. Opening a whole library lists its members. archive_inventory (CLI
    binary archive-inventory) lists a library's members with the symbols its index gives each and the open path,
    and contains matches those symbols. See object files.
  • MSVC .lib members open as lib.lib(member.obj); import-library members (short import objects) are listed by
    archive_inventory with their import (DLL, symbol, kind, by name or ordinal) and refused with what they import
    when opened; a Mach-O universal .a lists every slice's members with their arch and a member path opens the
    slice arch picks.
  • build_signatures (CLI function build-signatures) takes a static library as its path and builds from all its
    objects, adding PAT patterns whose wildcards are exactly the bytes relocations patched (the 16-bit immediate for
    MIPS %hi/%lo): a MIPS library's database names all seven of its functions in a program linked against it,
    where the objects' hashes alone named two; a COFF .lib's names all ten functions of a program lld-link links
    from it. Members are skipped by format (import objects, alias-only objects), and the MCP call is cancellable.
  • New fixtures in tests/fixtures/objects (build-objects.sh): ELF objects and ar libraries, COFF and Mach-O
    objects, libobjects-coff.lib, imports-coff.lib, libobjects-macho.a, libobjects-mipsel.a and
    linked-mipsel.

CLI

  • binary decode --output PATH writes the whole decoded output to a new file, through the same API function and with
    the same refusals as MCP write_decoded_range: a new file only (never over an existing file or symlink), mode
    0644, and the decode's size caps. The CLI resolves the directory typed (relative, through .. or a symlinked
    /tmp) to its canonical path first; --json adds written (path, bytes) to the receipt and keeps preview.
  • MCP tool names work at the CLI as hidden aliases where one CLI command does the same thing (rampage binary_info FILE runs binary inspect; also within a group). An unknown subcommand is refused with the command meant: the
    CLI route of an MCP tool name (with flags, as for write_decoded_range), a note that an MCP tool has no CLI
    command, or the nearest routes by edit distance (a prefix such as function decomp counts as close).
    rampage help <tool> shows the route's help. The mapping is one table, listed in the
    CLI reference.

Changes and fixes

  • Decompiled C names a callee without a symbol sub_<hex> (lowercase hex byte address, as listings, xrefs and
    address arguments use it) instead of Ghidra's func_0x<padded hex>, also for calls into code discovery never made
    a function; the name resolves in every tool that takes an address, and the structured result's calls[].name and
    call tokens carry it for direct calls (before, null and empty). The decompiler's own default names (an
    undiscovered function decompiled by address, the tar...
Read more

rampage v1.11.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 11:41
  • identify_functions on Cortex-M firmware consults a new operand tier after the embedded set
    (data/embedded-thumb-operands.json.gz, 1.25 MB): the same training references hashed under scheme 4, which also
    masks Thumb load/store offsets and stack adjustments, so a library function whose structure offsets follow the
    kernel configuration or the compiler release is still named (source rampage-builtin embedded operands, a
    coarser match). The embedded call graph also trains on FreeRTOS kernels with every application hook on, so an
    enabled hook is no longer named after the library function that held its call position elsewhere. On the held-out GCC 14.3 fixtures recall rises from
    60.1% to 63.9% (Cortex-M4F) and from 45.4% to 46.3% (Cortex-M0), with no wrong or spurious name; on the new dev
    split (11 images from GCC 11.3, 12.2, 13.2 and 13.3) from 51.5% to 56.3%, with one false name fewer.
  • tools/embedded-signatures/build.py builds a dev split (dev, from an owned program, kernel configuration and
    toolchains training does not use), tombstone negatives (negatives), a held-out negative gate (negatives --gate: other libraries, GCC 12.2, other levels) and the hooks kernels (refs --config hooks);
    crates/rampage-eval/examples/embedded_operands.rs builds the operand tier and runs its training (each GCC release
    left out), dev and negative gates.
  • identify_functions runs call-graph propagation on Cortex-M firmware, from a new embedded call graph
    (data/embedded-callgraph.json.gz, 65 KB) built from the embedded set's training references. On the held-out
    GCC 14.3 fixtures recall rises from 51.3% to 60.1% (Cortex-M4F) and from 31.3% to 45.4% (Cortex-M0), with no
    wrong or spurious name; added names carry source rampage-builtin call graph. Link stubs and weak override
    points (application hooks, the HAL's weak defaults) are never propagated.
  • crates/rampage-eval/examples/embedded_call_graph.rs rebuilds the embedded call graph reproducibly and refuses
    held-out builds. The flywheel engine chooses the call graph as production identification does.
  • MCP: path and raw are optional. A call without them works on the one binary the connection has opened,
    with its selectors and its peripheral and annotation state; the result names it in session_target. With several
    open, the error lists them. An explicit path always wins and reuses the connection's Raw selector for it only
    when the file has no native header; raw: null asks for the native image.
  • MCP: Intel HEX and S-record files open by path alone when their records start with a Cortex-M vector table whose
    initial stack pointer is in RAM; otherwise the error names the raw selector to pass. disassemble on a
    Cortex-M Raw project without an entry starts at the Reset handler and says so.
  • MCP: an evaluate_function buffer whose size is short of its content takes the content's length (reporting
    requested_size); inspect_data reads at most 1024 bytes and uses the pointer width for other word sizes
    (reporting truncated, requested_size, requested_word_size); inspect_raw_code and inspect_sleigh limits and
    decoder timeouts clamp to their caps. evaluate_function takes arguments as args, and a list sent as JSON
    text.
  • MCP: enable_tools says where the firmware tools live when asked for firmware and accepts unambiguous aliases
    (svd, peripherals, yara, crypto, apk, dex, filesystem, signatures). import_svd given the .svd
    as path uses the session's binary as the image, and its previews say nothing was applied. A Raw selector
    missing base_address gets the base a Cortex-M vector table suggests.

rampage v1.10.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 14:56
  • integrity_checks gives each check's stored and computed values, and each fix write's current and replacement
    values, as integers read at the field's width and byte order, beside the hex (a 0x string above 2^53-1; none
    for digests).
  • raw: offset defaults to 0 and length to the rest of the file; a range past the end names the range, the
    file's size and the longest length that fits; format accepts bin/raw; Cortex-M spellings such as
    arm-thumb-cortex-m select the profile, and ARMv8-M cores and architecture names get an explanatory error; a
    selector sent as a JSON string is parsed.
  • Argument aliases: xrefs target (as to), inspect_data count (as size: bytes, or words of word_size
    bytes when that is given), peripheral_access at (as peripheral). Misplaced svd on peripheral_access,
    class_name on class_evidence, and import_svd with only a .svd path get errors naming the right call.
  • Fix: get_type with a decompiler worker stopped at the native type library for any unknown name; DWARF and Go
    runtime metadata are now searched, so a Go type is found by its package-qualified name or full import path.
  • ELF files without section headers (OpenWrt's sstrip) list their dynamic symbols, imports, exports and import
    slots, read through PT_DYNAMIC, on every architecture. DT_INIT, DT_FINI and the init and fini arrays seed
    function discovery.
  • MIPS16e code in 32-bit MIPS ELF files is decoded: disassemble, list_functions, xrefs, decompile and
    evaluate_function work on it, including calls across jalx and through GOT entries. Most OpenWrt programs,
    busybox among them, are MIPS16e. microMIPS and 64-bit MIPS16e are still reported as not decoded.
  • MIPS: musl's dynamic _start_c and MIPS16e function-pointer tables seed discovery; addresses of strings in the
    executable segment no longer start functions.
  • ANALYSIS_VERSION 10; worker protocol 16.

rampage v1.9.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 23:56

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 (carve group, 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/$t9 tracking, the GOT and .MIPS.stubs named, and find_main.
    • Raw MIPS32 profiles for boot ROMs.
    • MIPS16e and microMIPS code is detected and reported as not decoded.
  • 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_main was located.
  • evaluate_function:
    • Runs SSE through AVX2 operations, takes float arguments and returns float results.
    • Returns a step trace on request.
    • Models sprintf, strdup and operator new.
    • decompile now 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_main on 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_bytes or integrity_checks had 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 in diff_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_firmware on Xtensa counts code that only moved as changed.

See CHANGELOG.md for the full list.

rampage v1.8.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 11:32

More firmware formats, read and recognised natively: UBI and UBIFS open in fs_list, and carve now finds the containers, filesystems and disk layouts firmware is usually packed in, without depending on binwalk or unblob.

  • UBI and UBIFS in fs_list and fs_extract.
    • UBI images (raw flash dumps or ubinize output) list their volumes as <name>.img. Volumes are rebuilt from their eraseblocks, and each one opens through inner.
    • UBIFS, inside a volume or as a bare dump, is read through its index plus the journal written since the last commit, with uncompressed, LZO, zlib or zstd data.
    • Undersized nodes, index fan-out tricks and runaway reads are refused.
  • carve recognises many more formats, with header checks ported from binwalk (MIT, see THIRD-PARTY-NOTICES):
    • ext2/3/4, Android sparse, OTA payload, tar and bzip2;
    • UBI, UBIFS, JFFS2 and CramFS;
    • TRX, device trees and FIT images, LZ4 and lzop;
    • MBR, GPT, FAT12/16/32, and UEFI firmware volumes and capsules.
  • Less noise from carve.
    • Inside an image it reports only what is useful there, and counts what it left out. A firmware composite went from 245 candidates to 24.
    • Forged headers can't hide later data, and every walk and checksum has a budget.
    • Large files scan about 20% faster.
  • triage on a file with no executable header returns a container-level answer instead of an error: the layout, compressed components, carve candidates, and the exact next calls to make.
  • Cortex-M firmware.
    • find_main works on Raw projects.
    • binary_info lists raw.starting_points to read first.
    • CRC routines that integrity_checks infers, and their callers, are seeded into discovery.
    • Code named only in data is reached, so xrefs finds string loads.
    • Implausible vector tables are refused.
    • decompile with exact_entry takes Thumb code.
    • Addresses with the Thumb bit set work across the code tools.
  • search on ARM matches constants loaded from literal pools or built by MOVW/MOVT, and scans a 3.5 MB Thumb image in about an eighth of the work budget it used to run out of.
  • Clearer results.
    • xrefs with no result explains what was searched.
    • lock_mechanisms reports how much of the firmware it covered.
    • File tools that only read carry the MCP read-only annotation.
  • Housekeeping.
    • Committed fixtures no longer carry local paths, and CI enforces it.
    • A flaky debugger UI test is fixed.

See CHANGELOG.md for the full list.

rampage v1.7.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 12:01

Android apps join the privacy checks: see what an app or a whole firmware tree can capture, what starts it, and where it sends data. The new android group is stable from this release.

  • Android APKs and DEX files: the new dex_metadata and dex_code tools (group android).
    • dex_metadata reports the package, its permissions with Android 14 protection levels, components and intent filters, receivers that start at boot, and native libraries with their JNI exports. It also pages the classes and methods.
    • Its privacy section lists the capture APIs the code actually invokes, with their callers, the guarding permission, and whether a boot receiver reaches them.
    • dex_code lists one method as Dalvik bytecode with resolved references, or as structured pseudocode (view: "pseudo"). It is not decompiled to Java.
    • jni links native methods to their Java_ exports.
  • privacy_surface on apps and firmware trees.
    • On an APK or DEX file it reports Java capture sources and network sinks with their endpoints. The call paths can cross into the app's native libraries through JNI.
    • Triggers cover boot, app start, push messages, scheduled work and UI callbacks.
    • On an extracted firmware tree it reads init .rc services, systemd units and init.d scripts, and links a capture to the boot-time start that runs it.
    • no_user_trigger is withheld whenever the evidence is incomplete: calls resolved only by name, reflection, code loaded at run time, or a bound being hit.
  • String decryption: a small, bounded Dalvik interpreter runs an app's static string-decoder methods at call sites with constant arguments. Decoded URLs and keys appear in dex_metadata, endpoint_inventory (evidence dex_decoded) and privacy_surface.
  • endpoint_inventory reads APKs and DEX files: DEX string pools come with the methods that load each string, and the APK's native libraries are scanned too.
  • ZIP in fs_list and fs_extract: stored and deflated members, ZIP64 included, with the usual extraction safety rules.
  • Shorter tool descriptions: an agent session's default tool list is 26% smaller (about 25k tokens, down from 34k). The detail moved to the "Tool details" section of docs/mcp.md, and a test guards the catalog size.
  • Rust API: WorkflowReport::target is now an Option. The JSON for reports on binaries is unchanged.

Full details in the changelog.

Full Changelog: v1.6.0...v1.7.0

rampage v1.6.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 06:43

See what your own devices can capture, and take compressed firmware from the update file to readable code. Additions only; nothing in the stable surface changed, though Cortex-M Raw projects now discover more on their own (see below).

  • privacy_surface: a new report (group carve) on what one binary can capture and where it can send it.
    • Sources: microphone, camera, screen and input capture, found by API name (ALSA, tinyalsa, PulseAudio, V4L2, DRM, evdev, Android native audio and camera), by ioctl request code and by device path.
    • Direction: read from constant arguments where possible, so playback is excluded.
    • Sinks: network sends (sockets, libcurl, MQTT, WebSocket), with the endpoints they name, plus file writes.
    • Paths: call paths from capture to send, ranked by evidence.
    • Triggers: what starts each capture (program start, timer, network command, user input). Capture reached from program start with no input handling found is flagged as evidence, never as intent.
  • Compressed firmware as Raw code.
    • A Raw project's main region can be the output of a decoder (LZSS and others), opened straight from the update file.
    • probe_compression and decode_file_range return the raw settings to open it, ranked load-address candidates, and any container record (sizes, checksum, load address) found before the stream.
    • The new write_decoded_range tool saves decoded bytes to a new file.
  • Scatter-load.
    • Cortex-M Raw projects follow their reset code with a small bounded interpreter.
    • They map the startup copies (flash to RAM or TCM) at their run addresses and continue into the copied code.
    • They find a vector table that is relocated at run time.
    • Regions can also be copied from a slice of another region.
  • Load address. Ranked candidates come from pointer votes, literal pools, reset-code constants and container records. binary_info checks the chosen base and names a better one when it looks wrong.
  • Sparse discovery. A Cortex-M Raw image where discovery finds little now runs the pointer-table scan automatically. pointer_tables: true or false still decides explicitly.
  • More tools on Raw projects: list_strings, inspect_data, function_summary, find_crypto, triage and triage_report.
  • Bounded binary_info: its Raw output now always fits the tool budget.
  • Integrity checks on firmware.
    • A container's record checksums are reported as checks over each compressed stream.
    • CRC routines that discovery missed are found from their polynomial literal.
  • list_dir: a new core tool that lists a folder, never following symlinks.
  • Fix: Thumb disassembly no longer shows add/sub Rdn, #imm8 inside IT blocks four times too large.

Full details in the changelog.

Full Changelog: v1.5.0...v1.6.0

rampage v1.5.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 16:50

See what your own smart devices contain and contact. Additions only; nothing in the stable surface changed.

  • Unpack firmware filesystem images: the new fs_list and fs_extract tools (group carve).
    • Formats: SquashFS 4.0 (gzip, xz, lzma, lzo, lz4, zstd), ext2/3/4, Android sparse images, full Android OTA payload.bin updates, cpio and tar.
    • image_offset opens an image embedded in a larger file, and inner opens nested ones.
    • Extraction is sandboxed:
      • it writes only into a new or empty absolute output_dir;
      • no .. paths, no escaping symlinks, no device nodes or setuid bits;
      • total bytes, file count, file size, compression ratio and nesting are capped.
    • Every codec is pure Rust; nothing external is run. UBI/UBIFS images are recognised but not read yet.
  • Endpoint inventory and router blocklists: the new endpoint_inventory and endpoint_blocklist tools (group carve).
    • endpoint_inventory lists the URLs, host names, IP literals, certificate pins and embedded certificates in one binary or a whole extracted firmware tree.
    • Each finding links to the functions that use it and the networking APIs they call.
    • Version numbers, schema URIs and similar noise are filtered out, and private and local addresses are labelled.
    • endpoint_blocklist writes the chosen hosts or domains as a hosts file, dnsmasq, unbound, a plain domain list (Pi-hole, AdGuard Home) or an IP list.
    • It never widens a host to a public suffix or a shared cloud/CDN domain, and it never writes on-network addresses.
  • Cortex-M decompiles are about 10× faster and deterministic.
    • A function's output no longer depends on what was decompiled before it.
    • Output changed on Cortex-M images only (66 of 549 functions on the test image), mostly callees that now keep their arguments.
  • integrity_checks confirms fixes with the device's own code: each value a fix writes is rerun through the routine that confirmed the check, and reported as device_check: agrees, disagrees or unconfirmed.

Full details in the changelog.

Full Changelog: v1.4.0...v1.5.0

rampage v1.4.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 09:50

Firmware ELFs as first-class targets, plus fixes from benchmark suite v4. Additions only; nothing in the stable surface changed.

  • Cortex-M ELF firmware decompiles like a Cortex-M Raw project.
    • An ARM ELF whose build attributes name an M-profile CPU is decoded as M-profile, with all executable code in Thumb.
    • Statically linked executables also get the Cortex-M decompiler settings: device ranges are volatile, and flash words read through a formed address are not folded.
    • Its vector table seeds the interrupt handlers as functions.
  • Patch static ELF32 ARM firmware in place.
    • patch_bytes, integrity_checks fixes and export_image work directly on a static little-endian ARM ELF32 executable. There's no need to convert it to a Raw project first.
    • export_image format: binary lays sections out at their load addresses, like objcopy -O binary.
    • integrity_checks notes sections that are loaded at one address and run at another.
  • CRC-16 polynomials formed by immediates: integrity_checks now finds table-less CRC-16 loops whose polynomial (0xa001, 0x8408 or 0x1021) is a Thumb/A32 immediate or a literal-pool word.
  • Fixes from suite v4:
    • evaluate_function:
      • runs code in page 0 of fixed-address images;
      • accepts a Raw project's raw selector.
    • integrity_checks finds nested checks and fixes them inner-first.
    • Cortex-M Raw decompile no longer folds flash words read through a formed address.
    • string_decoding finds table-driven decoders.
    • Opening an Intel HEX or S-record file without raw names the format and the selector to use.

Full details in the changelog.

Full Changelog: v1.3.0...v1.4.0

rampage v1.3.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 23:01

Embedded firmware library naming and lock explanation. Additions only; nothing in the stable surface changed.

  • Embedded Cortex-M library signatures: identifying functions in firmware (Cortex-M Raw projects and static Thumb ELF executables) also uses a bundled set built from newlib/newlib-nano, libgcc, compiler-rt, the FreeRTOS kernel and the STM32F4 HAL/LL across three Arm GNU Toolchain releases. On firmware built with a held-out GCC it names 31–51% of library functions with no wrong name. identify_functions accepts a Raw project's raw selector. See embedded firmware set.
  • lock_mechanisms (experimental): explains what can make a device refuse a repair — signature and MAC verification, challenge-response unlocks, unique-chip-ID binding, anti-rollback counters, debug and readout protection, fuse feature locks — with the decision point, what it consults and what each path does. It explains only: no patch suggestions, no key extraction. See lock mechanisms.
  • find_crypto recognizes PKCS#1 v1.5 DigestInfo prefixes.
  • Fixed: evaluate_function's timeout_ms no longer counts building the instruction decoder.

Full details in the changelog.

Full Changelog: v1.2.0...v1.3.0