diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-07-11 11:22:23 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-07-11 11:23:34 +0200 |
commit | afe8796bfad401ef48771361b0e49716a8e8ee0a (patch) | |
tree | 1a333d2a16ccb879ec3018d10cede3d07cf01427 /INSTALL | |
parent | 7fbdaf2ea16e83b5b7137ca01d16e345eee96dc1 (diff) |
docs: describe how to build bpf_jit_disasm
Since it's out of the normal build process for now, describe how to
build it for advanced users.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -169,3 +169,14 @@ a prefixed path like: Thanks for maintaining netsniff-ng in your distribution. Further questions will be answered on the public mailing list. + +Last but not least, there is one small utility for advanced users that we have +not integrated into the main build process. This is a minimal BPF JIT image +disassembler for the Linux kernel. You can also find this tool in the Linux +kernel Git tree under 'tools/net/bpf_jit_disasm.c' or within the netsniff-ng +Git tree simply under 'bpf_jit_disasm.c'. To build it, execute: + + $ gcc -Wall -O2 bpf_jit_disasm.c -o bpf_jit_disasm -lopcodes -lbfd -ldl + +The rest is described in the file header comment itself, i.e. how to get to the +BPF JIT code. |