forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf, selftests: Add test cases for pointer alu from multiple paths
Add several test cases for checking update_alu_sanitation_state() under multiple paths: # ./test_verifier [...] torvalds#1061/u map access: known scalar += value_ptr unknown vs const OK torvalds#1061/p map access: known scalar += value_ptr unknown vs const OK torvalds#1062/u map access: known scalar += value_ptr const vs unknown OK torvalds#1062/p map access: known scalar += value_ptr const vs unknown OK torvalds#1063/u map access: known scalar += value_ptr const vs const (ne) OK torvalds#1063/p map access: known scalar += value_ptr const vs const (ne) OK torvalds#1064/u map access: known scalar += value_ptr const vs const (eq) OK torvalds#1064/p map access: known scalar += value_ptr const vs const (eq) OK torvalds#1065/u map access: known scalar += value_ptr unknown vs unknown (eq) OK torvalds#1065/p map access: known scalar += value_ptr unknown vs unknown (eq) OK torvalds#1066/u map access: known scalar += value_ptr unknown vs unknown (lt) OK torvalds#1066/p map access: known scalar += value_ptr unknown vs unknown (lt) OK torvalds#1067/u map access: known scalar += value_ptr unknown vs unknown (gt) OK torvalds#1067/p map access: known scalar += value_ptr unknown vs unknown (gt) OK [...] Summary: 1762 PASSED, 0 SKIPPED, 0 FAILED Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org>
- Loading branch information
Showing
1 changed file
with
229 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters