mirror of
https://github.com/morluto/rea.git
synced 2026-12-03 21:46:01 +00:00
* feat(firmware): propose CPU, endianness, and load-base candidates for firmware blobs * fix(firmware): preserve MCP caller inputs, x32 decoder width, and bounded ELF tallies * fix(firmware): leave M-profile variant and PPC width unresolved and report observed file size * chore(firmware): remove unused exported types flagged by knip * fix(firmware): recognize x86_64 leave;ret functions, keep uImage ppc width unknown, and preserve MIPS ELF flags * fix(firmware): preserve MIPS/ARM decoder uncertainty and partial scan stages * fix(firmware): preserve MIPS16 and microMIPS ELF ASE mode declarations * fix(firmware): admit Cortex-M vector tables with filled reserved slots The Raspberry Pi Pico SDK fills reserved vector slots with its default handler. The detector required them to be zero, so it missed the vector table and load base of the MicroPython 1.24.1 RP2040 image and offered only an instruction-census guess. Reserved slots may now hold a Thumb handler in the Reset region; any other value still rejects the table. Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com> * feat(firmware): identify ESP-IDF images from their header chip_id The detectors found no candidate for the MicroPython 1.24.1 ESP32 image. They have no Xtensa signature, and the chip is named in the image header. A new esp-image-header detector recognizes the ESP-IDF header at offset 0 or a ROM bootloader offset, and takes the ISA from the existing ESP-IDF chip table. The chip_id field now has one reader shared with the ESP image parser. ESP32 images report Xtensa and ESP32-C3 images RISC-V. Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com> --------- Co-authored-by: gensokyo-dev <gensokyo-dev@users.noreply.github.com> Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>