android_kernel_xiaomi_sm8350/tools/bpf/bpftool
Quentin Monnet 14efbe2499 bpftool: Fix bug for long instructions in program CFG dumps
[ Upstream commit 67cf52cdb6c8fa6365d29106555dacf95c9fd374 ]

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: efcef17a6d ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-17 11:35:42 +02:00
..
bash-completion
Documentation
.gitignore
btf_dumper.c
btf.c
cfg.c
cfg.h
cgroup.c bpf: Print error message for bpftool cgroup show 2020-02-24 08:36:40 +01:00
common.c
feature.c
jit_disasm.c
json_writer.c tools: bpftool: Remove invalid \' json escape 2023-05-17 11:35:40 +02:00
json_writer.h
main.c
main.h tools: bpftool: move "__printf()" attributes to header file 2019-08-15 22:06:46 -07:00
Makefile
map_perf_ring.c tools: bpftool: fix arguments for p_err() in do_event_pipe() 2019-08-15 22:06:46 -07:00
map.c
net.c bpftool: Fix compilation failure for net.o with older glibc 2021-01-17 14:05:37 +01:00
netlink_dumper.c tools: bpftool: dual license all files 2018-12-13 12:08:44 +01:00
netlink_dumper.h
perf.c tools: bpftool: compile with $(EXTRA_WARNINGS) 2019-08-14 22:57:36 +02:00
prog.c
tracelog.c
xlated_dumper.c bpftool: Fix bug for long instructions in program CFG dumps 2023-05-17 11:35:42 +02:00
xlated_dumper.h tools: bpftool: replace Netronome boilerplate with SPDX license headers 2018-12-13 12:08:44 +01:00