Searched refs:EbpfVmNoData (Results 1 – 8 of 8) sorted by relevance
38 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_add()67 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_alu64_arith()100 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_alu64_bit()129 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_alu_arith()160 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_alu_bit()174 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_arsh32_high_shift()188 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_arsh()204 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_arsh64()219 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_arsh_reg()233 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_arsh_imm_overflow()[all …]
30 let vm = rbpf::EbpfVmNoData::new(Some(prog)).unwrap(); in test_verifier_err_endian_size()42 let vm = rbpf::EbpfVmNoData::new(Some(prog)).unwrap(); in test_verifier_err_incomplete_lddw()55 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_infinite_loop()68 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_invalid_reg_dst()81 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_invalid_reg_src()95 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_jmp_lddw()108 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_jmp_out()120 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_no_exit()133 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_no_exit_backward_jump()151 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_too_many_instructions()[all …]
39 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_add()71 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_alu64_arith()107 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_alu64_bit()139 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_alu_arith()173 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_alu_bit()190 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_arsh32_high_shift()207 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_arsh()226 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_arsh64()244 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_arsh_reg()349 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_call()[all …]
18 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap();273 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_cranelift_call()294 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_cranelift_err_call_unreg()480 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_cranelift_err_stack_out_of_bound()1777 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_cranelift_stack2()1853 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_cranelift_string_stack()
415 let vm = rbpf::EbpfVmNoData::new(Some(prog)).unwrap(); in test_vm_err_ldabsb_nomem()525 let vm = rbpf::EbpfVmNoData::new(Some(prog)).unwrap(); in test_vm_err_ldindb_nomem()534 let vm = rbpf::EbpfVmNoData::new(None).unwrap(); in test_vm_exec_no_program()553 let mut vm = rbpf::EbpfVmNoData::new(None).unwrap(); in test_verifier_success()567 let mut vm = rbpf::EbpfVmNoData::new(None).unwrap(); in test_verifier_fail()
38 let mut vm = rbpf::EbpfVmNoData::new(Some(prog1)).unwrap(); in main()
1429 pub struct EbpfVmNoData<'a> { struct1433 impl<'a> EbpfVmNoData<'a> { implementation1449 pub fn new(prog: Option<&'a [u8]>) -> Result<EbpfVmNoData<'a>, Error> { in new()1451 Ok(EbpfVmNoData { parent }) in new()
135 * `struct EbpfVmNoData` does not take any data. The eBPF program takes no154 // called with EbpfVmNoData:: prefix155 pub fn new(prog: &'a [u8]) -> Result<EbpfVmNoData<'a>, Error>222 // for struct EbpfVmNoData247 // for struct EbpfVmNoData278 // Instantiate a struct EbpfVmNoData. This is an eBPF VM for programs that281 let vm = rbpf::EbpfVmNoData::new(Some(prog)).unwrap();