I wrote some bpf programs. I've enabled echo "2" > /proc/sys/net/core/bpf_jit_enable so it outputs the generated jitted code in logs, but I don't have bpf_jit_disasm inside the qemu environment in which I generated the jitted code. The qemu environment just has busybox and no other tools.
How do I take the jitted output generated in the qemu environment and pass it to bpf_jit_disasm? I've tried -f but it expects a JIT IMAGE. Not sure what that means.
Also what are the other ways I can debug the bpf programs?