Add script that dumps the XDP object file.

This commit is contained in:
Christian Deacon
2025-02-26 16:51:04 -05:00
parent d9998580f2
commit 8907efc306
2 changed files with 14 additions and 0 deletions

7
scripts/dump_assembly.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
if [ -n "$ROOT" ]; then
cd $ROOT
fi
llvm-objdump -S --no-show-raw-insn build/xdp/xdp_prog.o > dump.asm

7
scripts/objdump.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
if [ -n "$ROOT" ]; then
cd $ROOT
fi
llvm-objdump -S --no-show-raw-insn build/xdp/xdp_prog.o > dump.asm