dump_zephyr 291 B

12345678910111213
  1. #!/bin/sh -x
  2. # inside output root
  3. # create dir
  4. mkdir -p dump
  5. # grab execution dir
  6. EXEC_DIR="$(dirname "$(realpath "$0")")"
  7. # dump main executable
  8. "$EXEC_DIR"/objdump "-d" zephyr.elf dump/zephyr.elf.S
  9. "$EXEC_DIR"/filter_process_assembly dump/zephyr.elf.S dump/zephyr.instr dump/zephyr.csr