| name | firmware-reverse-engineering |
| description | Structured workflow for reverse-engineering embedded firmware and extracting platform dependencies, peripheral usage, and timing constraints. |
| allowed-tools | Read, Glob, Grep, Bash |
Firmware Reverse Engineering
Reverse-engineering workflow for embedded firmware portability analysis.
Purpose
Generate a dependency map and portability assessment for embedded firmware.
Workflow
- Identify MCU/SoC and board details (clocks, memory, peripherals).
- List toolchains, SDKs, and build system.
- Map peripheral use (GPIO, SPI, I2C, UART, ADC, timers).
- Extract initialization sequences and runtime constraints.
- Flag hardware-specific dependencies and vendor HAL usage.
Scripts
| Script | Purpose | Command |
|---|
scripts/firmware_reverse_engineering.py | MCU artifact scan | python scripts/firmware_reverse_engineering.py <project_path> |