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-04-03 13:12:26 -07:00
2020-06-24 14:25:59 +01:00
2020-08-26 21:47:32 -07:00
2020-07-06 15:47:48 -06:00
2020-03-25 11:50:48 +01:00
2020-08-12 10:57:55 -07:00
2020-08-05 10:28:25 -07:00
2020-06-17 00:07:38 +02:00
2020-05-08 09:40:58 -06:00
2020-08-03 18:06:46 -07:00
2020-03-25 11:50:48 +01:00
2020-08-14 19:56:56 -07:00
2020-07-06 15:59:16 -06:00
2020-07-25 12:05:20 +02:00
2020-06-29 10:02:23 +02:00
2020-06-16 10:42:47 -06:00
2020-03-25 11:50:48 +01:00
2020-04-23 17:23:20 -06:00
2020-03-25 11:50:48 +01:00
2020-04-23 17:23:20 -06:00
2020-04-14 10:24:28 -06:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-08-12 10:58:01 -07:00
2020-08-05 11:52:17 -07:00
2020-07-27 09:04:50 -04:00
2020-06-04 19:06:25 -07:00
2020-07-15 08:54:35 +02:00
2020-06-29 18:41:39 +02:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-04-23 17:23:20 -06:00
2020-08-07 11:33:27 -07:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-08-17 14:59:24 -07:00
2020-08-13 04:25:16 +02:00
2020-05-08 09:42:14 -06:00
2020-06-05 20:02:09 -04:00
2020-03-25 11:50:48 +01:00
2020-07-06 15:59:07 -06:00
2020-08-05 10:28:25 -07:00
2020-08-05 10:14:03 +10:00
2020-03-25 11:50:48 +01:00
2020-04-22 10:51:22 -05:00
2020-05-30 10:34:02 -07:00
2020-07-20 18:04:59 -07:00
2020-04-03 13:12:26 -07:00
2020-06-29 12:03:15 -07:00
2020-03-13 13:29:22 -06:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-08-15 18:50:32 -07:00
2020-07-06 15:57:15 -06:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-08-07 10:50:11 -07:00
2020-07-06 15:57:28 -06:00
2020-06-09 10:03:12 -07:00
2020-07-20 18:29:37 -07:00
2020-05-22 13:29:55 -06:00
2020-03-25 11:50:48 +01:00
2020-03-25 11:50:48 +01:00
2020-07-06 14:20:35 -06:00
2020-07-06 15:59:07 -06:00
2020-05-22 11:05:07 -06:00
2020-08-12 10:57:56 -07:00
2020-03-25 11:50:48 +01:00
2020-06-23 14:50:34 -07:00
2020-08-04 21:16:22 -07:00
2020-04-03 13:12:26 -07:00
2020-05-19 16:11:46 -06:00
2020-04-23 17:23:20 -06:00
2020-07-17 13:56:35 -06:00
2020-08-05 10:28:25 -07:00
2020-07-07 14:11:31 -06:00
2020-08-07 11:33:27 -07:00