aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2023-12-08 17:09:58 -0800
committerAlexei Starovoitov <[email protected]>2023-12-09 18:43:20 -0800
commit7d8ed51bcb32716a40d71043fcd01c4118858c51 (patch)
tree767e8c161fbe31ff256f95197b9a96c615134c5d /tools/perf/scripts/python
parent482d548d40b0af9af730e4869903d4433e44f014 (diff)
selftests/bpf: validate fake register spill/fill precision backtracking logic
Add two tests validating that verifier's precision backtracking logic handles BPF_ST_MEM instructions that produce fake register spill into register slot. This is happening when non-zero constant is written directly to a slot, e.g., *(u64 *)(r10 -8) = 123. Add both full 64-bit register spill, as well as 32-bit "sub-spill". Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Eduard Zingerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions