Skip to content

rampage v1.4.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 09:50
· 315 commits to main since this release

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