Lines Matching refs:prog

26     let prog = &[  in test_verifier_err_endian_size()  localVariable
30 let vm = rbpf::EbpfVmNoData::new(Some(prog)).unwrap(); in test_verifier_err_endian_size()
38 let prog = &[ in test_verifier_err_incomplete_lddw() localVariable
42 let vm = rbpf::EbpfVmNoData::new(Some(prog)).unwrap(); in test_verifier_err_incomplete_lddw()
49 let prog = assemble( in test_verifier_err_infinite_loop() localVariable
55 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_infinite_loop()
62 let prog = assemble( in test_verifier_err_invalid_reg_dst() localVariable
68 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_invalid_reg_dst()
75 let prog = assemble( in test_verifier_err_invalid_reg_src() localVariable
81 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_invalid_reg_src()
88 let prog = assemble( in test_verifier_err_jmp_lddw() localVariable
95 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_jmp_lddw()
102 let prog = assemble( in test_verifier_err_jmp_out() localVariable
108 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_jmp_out()
115 let prog = assemble( in test_verifier_err_no_exit() localVariable
120 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_no_exit()
126 let prog = assemble( in test_verifier_err_no_exit_backward_jump() localVariable
133 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_no_exit_backward_jump()
142 let mut prog = (0..(1_000_000 * ebpf::INSN_SIZE)) in test_verifier_err_too_many_instructions() localVariable
149 prog.append(&mut vec![0x95, 0, 0, 0, 0, 0, 0, 0]); in test_verifier_err_too_many_instructions()
151 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_too_many_instructions()
158 let prog = &[ in test_verifier_err_unknown_opcode() localVariable
162 let vm = rbpf::EbpfVmNoData::new(Some(prog)).unwrap(); in test_verifier_err_unknown_opcode()
169 let prog = assemble( in test_verifier_err_write_r10() localVariable
175 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_write_r10()