aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/verifier/div_overflow.c
Commit message (Collapse)AuthorAgeFilesLines
* selftests/bpf: verifier/div_overflow.c converted to inline assemblyEduard Zingerman2023-03-261-110/+0
| | | | | | | | Test verifier/div_overflow.c automatically converted to use inline assembly. Signed-off-by: Eduard Zingerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
* bpf: fix div64 overflow tests to properly detect errorsNaveen N. Rao2019-06-131-4/+10
| | | | | | | | | If the result of the division is LLONG_MIN, current tests do not detect the error since the return value is truncated to a 32-bit value and ends up being 0. Signed-off-by: Naveen N. Rao <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
* selftests: bpf: break up test_verifierJakub Kicinski2019-01-281-0/+104
Break up the first 10 kLoC of test verifier test cases out into smaller files. Looks like git line counting gets a little flismy above 16 bit integers, so we need two commits to break up test_verifier. Signed-off-by: Jakub Kicinski <[email protected]> Acked-by: Jiong Wang <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>