aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorQuentin Monnet <[email protected]>2023-04-05 13:21:15 +0000
committerAlexei Starovoitov <[email protected]>2023-04-06 04:27:27 +0000
commit67cf52cdb6c8fa6365d29106555dacf95c9fd374 (patch)
tree93e32ee4cc379b39b8c7af574183c8477cd05745 /tools/bpf/bpftool/prog.c
parentbpftool: Fix documentation about line info display for prog dumps (diff)
downloadkernel-67cf52cdb6c8fa6365d29106555dacf95c9fd374.tar.gz
kernel-67cf52cdb6c8fa6365d29106555dacf95c9fd374.zip
bpftool: Fix bug for long instructions in program CFG dumps
When dumping the control flow graphs for programs using the 16-byte long load instruction, we need to skip the second part of this instruction when looking for the next instruction to process. Otherwise, we end up printing "BUG_ld_00" from the kernel disassembler in the CFG. Fixes: efcef17a6d65 ("tools: bpftool: generate .dot graph from CFG information") Signed-off-by: Quentin Monnet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions