aboutgitcodelistschat:MatrixIRC
path: root/disasm.c
Commit message (Collapse)AuthorAgeFilesLines
* Create bpf_dbg program to disassemble BPF filtersAlice Frosi2022-12-211-0/+276
The bpf_dbg binary prints the instructions included in the BPF filter. This is particurarly useful for debugging and verifing the generated filter. E.g: ./bpf_dbg test.bpf Read 7 entries l0: ld [4] l1: jeq #0xc000003e, l2, l5 l2: ld [0] l3: jeq #0x2a, l4, l5 l4: ja 5 l5: ret #0x7fff0000 l6: ret #0x7fc00000 Signed-off-by: Alice Frosi <afrosi@redhat.com>