diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2026-04-06 18:38:33 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-04-06 18:38:33 -0700 |
| commit | 8b648a517522e308e4378f012c4d352271e0cecf (patch) | |
| tree | ea18b9b17eefc24e23249a3061e1e2f36a3d7169 /tools/perf/scripts/python | |
| parent | 18474aed5d0d382f8057ceed7811a735134d28b9 (diff) | |
| parent | 1c2e217ad349d2af5c09f8e6e1c0561ad912477d (diff) | |
Merge branch 'properly-load-values-from-insn_arays-with-non-zero-offsets'
Anton Protopopov says:
====================
Properly load values from insn_arays with non-zero offsets
The PTR_TO_INSN is always loaded via BPF_LDX_MEM instruction.
However, the verifier doesn't properly verify such loads when the
offset is not zero. Fix this and extend selftests with more scenarios.
v2 -> v3:
* Add a C-level selftest which triggers a load with nonzero offset (Alexei)
* Rephrase commit messages a bit
v2: https://lore.kernel.org/bpf/20260402184647.988132-1-a.s.protopopov@gmail.com/
v1: https://lore.kernel.org/bpf/20260401161529.681755-1-a.s.protopopov@gmail.com
====================
Link: https://patch.msgid.link/20260406160141.36943-1-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
