diff options
author | Yonghong Song <[email protected]> | 2019-11-21 09:06:51 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-11-24 16:58:46 -0800 |
commit | 260cb5df9d16c5715b32d73cc8af26ad9a17a792 (patch) | |
tree | dc410e35bdb263512e095f64aed2456b19e132d8 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
parent | 581738a681b6faae5725c2555439189ca81c0f1f (diff) |
selftests/bpf: Add verifier tests for better jmp32 register bounds
Three test cases are added.
Test 1: jmp32 'reg op imm'.
Test 2: jmp32 'reg op reg' where dst 'reg' has unknown constant
and src 'reg' has known constant
Test 3: jmp32 'reg op reg' where dst 'reg' has known constant
and src 'reg' has unknown constant
Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions