summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnton Protopopov <a.s.protopopov@gmail.com>2026-04-06 16:01:40 +0000
committerAlexei Starovoitov <ast@kernel.org>2026-04-06 18:38:32 -0700
commit43cd9d9520e6622f6b9ffcd4f68e9d99225482b2 (patch)
tree9d212d20117a87b400ee75139961f56810e1365f /tools/perf/scripts/python
parent18474aed5d0d382f8057ceed7811a735134d28b9 (diff)
bpf: Do not ignore offsets for loads from insn_arrays
When a pointer to PTR_TO_INSN is dereferenced, the offset field of the BPF_LDX_MEM instruction can be nonzero. Patch the verifier to not ignore this field. Reported-by: Jiyong Yang <ksur673@gmail.com> Fixes: 493d9e0d6083 ("bpf, x86: add support for indirect jumps") Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com> Link: https://lore.kernel.org/r/20260406160141.36943-2-a.s.protopopov@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions