cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

ld_dw.c (968B)


      1{
      2	"ld_dw: xor semi-random 64 bit imms, test 1",
      3	.insns = { },
      4	.data = { },
      5	.fill_helper = bpf_fill_rand_ld_dw,
      6	.prog_type = BPF_PROG_TYPE_SCHED_CLS,
      7	.result = ACCEPT,
      8	.retval = 4090,
      9},
     10{
     11	"ld_dw: xor semi-random 64 bit imms, test 2",
     12	.insns = { },
     13	.data = { },
     14	.fill_helper = bpf_fill_rand_ld_dw,
     15	.prog_type = BPF_PROG_TYPE_SCHED_CLS,
     16	.result = ACCEPT,
     17	.retval = 2047,
     18},
     19{
     20	"ld_dw: xor semi-random 64 bit imms, test 3",
     21	.insns = { },
     22	.data = { },
     23	.fill_helper = bpf_fill_rand_ld_dw,
     24	.prog_type = BPF_PROG_TYPE_SCHED_CLS,
     25	.result = ACCEPT,
     26	.retval = 511,
     27},
     28{
     29	"ld_dw: xor semi-random 64 bit imms, test 4",
     30	.insns = { },
     31	.data = { },
     32	.fill_helper = bpf_fill_rand_ld_dw,
     33	.prog_type = BPF_PROG_TYPE_SCHED_CLS,
     34	.result = ACCEPT,
     35	.retval = 5,
     36},
     37{
     38	"ld_dw: xor semi-random 64 bit imms, test 5",
     39	.insns = { },
     40	.data = { },
     41	.fill_helper = bpf_fill_rand_ld_dw,
     42	.prog_type = BPF_PROG_TYPE_SCHED_CLS,
     43	.result = ACCEPT,
     44	.retval = 1000000 - 6,
     45},