Repository navigation
rampage v1.4.0
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_checksfixes andexport_imagework directly on a static little-endian ARM ELF32 executable. There's no need to convert it to a Raw project first.export_imageformat: binarylays sections out at their load addresses, likeobjcopy -O binary.integrity_checksnotes sections that are loaded at one address and run at another.
- CRC-16 polynomials formed by immediates:
integrity_checksnow 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
rawselector.
integrity_checksfinds nested checks and fixes them inner-first.- Cortex-M Raw decompile no longer folds flash words read through a formed address.
string_decodingfinds table-driven decoders.- Opening an Intel HEX or S-record file without
rawnames the format and the selector to use.
Full details in the changelog.
Full Changelog: v1.3.0...v1.4.0