diff options
author | Johan Almbladh <johan.almbladh@anyfinetworks.com> | 2021-09-14 11:18:32 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-09-28 09:26:28 +0200 |
commit | 9298e63eafea1ebe235919dbbbfc20c1c25000f8 (patch) | |
tree | 775e78cf75d479563c91b20e87658c467c22a54b /lib/memregion.c | |
parent | bpf/tests: Add exhaustive tests of ALU shift values (diff) | |
download | linux-9298e63eafea1ebe235919dbbbfc20c1c25000f8.tar.xz linux-9298e63eafea1ebe235919dbbbfc20c1c25000f8.zip |
bpf/tests: Add exhaustive tests of ALU operand magnitudes
This patch adds a set of tests for ALU64 and ALU32 arithmetic and bitwise
logical operations to verify correctness for all possible magnitudes of
the register and immediate operands. Mainly intended for JIT testing.
The patch introduces a pattern generator that can be used to drive
extensive tests of different kinds of operations. It is parameterized
to allow tuning of the operand combinations to test.
Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210914091842.4186267-5-johan.almbladh@anyfinetworks.com
Diffstat (limited to 'lib/memregion.c')
0 files changed, 0 insertions, 0 deletions