1234567891011121314151617 |
- #!/bin/sh -x
- # inside output root
- # create dir
- mkdir -p dump
- # grab execution dir
- EXEC_DIR="$(dirname "$(realpath "$0")")"
- # dump busybox
- "$EXEC_DIR"/objdump "-d" rootfs/bin/busybox dump/busybox.S
- "$EXEC_DIR"/filter_process_assembly dump/busybox.S dump/busybox.instr dump/busybox.csr
- # dump image
- "$EXEC_DIR"/objdump "-d" vmlinux dump/vmlinux.S
- "$EXEC_DIR"/filter_process_assembly dump/vmlinux.S dump/vmlinux.instr dump/vmlinux.csr
|