diff options
| author | Quentin Monnet <[email protected]> | 2023-04-05 13:21:15 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-04-06 04:27:27 +0000 |
| commit | 67cf52cdb6c8fa6365d29106555dacf95c9fd374 (patch) | |
| tree | 93e32ee4cc379b39b8c7af574183c8477cd05745 /tools/bpf/bpftool/prog.c | |
| parent | bpftool: Fix documentation about line info display for prog dumps (diff) | |
| download | kernel-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
