Yonghong Song
f5493c514c
selftests/bpf: Add verifier tests for xor operation
Added some test_verifier bounds check test cases for
xor operations.
$ ./test_verifier
...
#78/u bounds check for reg = 0, reg xor 1 OK
#78/p bounds check for reg = 0, reg xor 1 OK
#79/u bounds check for reg32 = 0, reg32 xor 1 OK
#79/p bounds check for reg32 = 0, reg32 xor 1 OK
#80/u bounds check for reg = 2, reg xor 3 OK
#80/p bounds check for reg = 2, reg xor 3 OK
#81/u bounds check for reg = any, reg xor 3 OK
#81/p bounds check for reg = any, reg xor 3 OK
#82/u bounds check for reg32 = any, reg32 xor 3 OK
#82/p bounds check for reg32 = any, reg32 xor 3 OK
#83/u bounds check for reg > 0, reg xor 3 OK
#83/p bounds check for reg > 0, reg xor 3 OK
#84/u bounds check for reg32 > 0, reg32 xor 3 OK
#84/p bounds check for reg32 > 0, reg32 xor 3 OK
...
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Cc: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20200825064609.2018077-1-yhs@fb.com
2020-08-26 21:47:32 -07:00
..
2020-03-25 11:50:48 +01:00
2020-06-01 14:38:22 -07:00
2020-06-01 14:38:22 -07:00
2019-01-27 21:37:45 -08:00
2019-07-03 11:14:28 +02:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2020-08-26 21:47:32 -07:00
2020-03-30 15:00:30 -07:00
2020-06-01 14:38:22 -07:00
2019-06-19 02:22:52 +02:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2020-06-02 21:04:04 +02:00
2020-07-17 20:18:17 -07:00
2019-02-05 16:56:10 +01:00
2020-03-03 16:23:59 -08:00
2020-03-27 19:40:39 -07:00
2020-08-25 15:41:15 -07:00
2020-05-15 17:29:41 +02:00
2019-06-19 02:22:51 +02:00
2019-01-27 21:37:45 -08:00
2020-06-01 14:38:22 -07:00
2019-01-27 21:37:45 -08:00
2019-06-13 23:07:00 +02:00
2020-07-11 01:32:15 +02:00
2020-06-02 21:04:04 +02:00
2019-01-27 21:37:45 -08:00
2020-06-02 21:04:04 +02:00
2019-04-12 13:54:59 -07:00
2019-05-01 23:32:16 +02:00
2020-03-06 14:17:39 +01:00
2019-02-05 16:56:10 +01:00
2019-05-13 01:08:55 +02:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2019-04-04 01:27:38 +02:00
2019-03-07 08:47:13 -08:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2019-10-04 12:27:36 -07:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2020-06-22 22:22:58 +02:00
2020-06-22 22:22:59 +02:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2020-06-02 21:04:04 +02:00
2020-04-29 23:30:59 +02:00
2019-01-27 21:37:45 -08:00
2019-04-26 19:04:19 -07:00
2020-05-21 17:44:25 -07:00
2019-12-19 13:39:22 -08:00
2019-04-16 10:18:15 +02:00
2019-01-27 21:37:45 -08:00
2020-06-02 11:57:43 -07:00
2019-02-05 16:56:10 +01:00
2019-02-05 16:56:10 +01:00
2020-04-20 19:25:30 -07:00
2019-05-29 13:31:05 +02:00
2019-01-27 21:37:45 -08:00
2019-03-21 18:59:11 -07:00
2019-01-27 21:37:45 -08:00
2020-04-20 18:41:34 -07:00
2020-05-21 17:44:25 -07:00
2020-06-19 23:34:43 +02:00
2019-01-27 21:37:45 -08:00
2019-04-05 16:50:08 +02:00
2019-07-15 23:15:53 +02:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00