Skip to content

Projects

ECU

AI-assisted recovery and verification of ECU firmware.

Problem

Older ECUs may still be in use even when their original source code or documentation is unavailable. Engineers then have to inspect the firmware binary to understand how the software works.

What I built

I built a local prototype that analyzes an ECU firmware binary and helps recover the behavior of individual functions.

Current process:

  1. Load the firmware binary
  2. Identify functions
  3. Inspect function calls, reads, writes, and control flow
  4. Determine what a selected function appears to do
  5. Reconstruct the function in C
  6. Run tests against the reconstructed function
  7. Compare its behavior with the original implementation
  8. Report differences

The important part is verification.

The system should not assume that generated C code is correct just because it looks reasonable. It compares the reconstructed behavior with the original binary.

Status

Working local demo.