aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorLuke Nelson <[email protected]>2020-03-05 15:44:13 -0800
committerDaniel Borkmann <[email protected]>2020-03-06 14:17:39 +0100
commit93e5fbb18cec70b3b5c614f67b65388829113bdd (patch)
treea9b5fbfd1959ae5818079c25d33d3dd89cba4cf6 /scripts/gdb/linux/timerlist.py
parent80f1f85036355e5581ec0b99913410345ad3491b (diff)
selftests: bpf: Add test for JMP32 JSET BPF_X with upper bits set
The existing tests attempt to check that JMP32 JSET ignores the upper bits in the operand registers. However, the tests missed one such bug in the x32 JIT that is only uncovered when a previous instruction pollutes the upper 32 bits of the registers. This patch adds a new test case that catches the bug by first executing a 64-bit JSET to pollute the upper 32-bits of the temporary registers, followed by a 32-bit JSET which should ignore the upper 32 bits. Co-developed-by: Xi Wang <[email protected]> Signed-off-by: Xi Wang <[email protected]> Signed-off-by: Luke Nelson <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions