paradroid001 / desertemu

Emulation for firmware reversing
2 stars 0 forks source link

DESERTEMU

A code analysis platform for emulated embedded devices

Quick Start

Start the build platform and emulation suite with: docker compose -f docker/docker-compose.yml up

On build platform:

On emulator (run with arg and wait for debugger):

On build platform (in same dir as basic.x86):

  gdb-multiarch -ex "symbol-file basic.<arch>" -ex "target remote desertemu-emulator-1:9000"
  (gdb) break main
  (gdb) display data
  (gdb) continue

So this tells gdb to use symbols from basic.x86, connect to the target 'remote', set a breakpoint.

Now step through ([n]ext) and see what happens to data.buf vs data.pwd