diff options
author | Quentin Monnet <quentin@isovalent.com> | 2023-04-05 14:21:15 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-04-05 21:27:27 -0700 |
commit | 67cf52cdb6c8fa6365d29106555dacf95c9fd374 (patch) | |
tree | 93e32ee4cc379b39b8c7af574183c8477cd05745 /tools/testing/selftests/bpf/prog_tests/recursion.c | |
parent | e27f0f1620b693ecf312c21ff8a52affb8a5be08 (diff) |
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 <quentin@isovalent.com>
Link: https://lore.kernel.org/r/20230405132120.59886-3-quentin@isovalent.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions