Home
last modified time | relevance | path

Searched refs:execute_program_cranelift (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/crates/rbpf/tests/
H A Dcranelift.rs20 assert_eq!(vm.execute_program_cranelift().unwrap(), $expected);
30 assert_eq!(vm.execute_program_cranelift(mem).unwrap(), $expected);
276 assert_eq!(vm.execute_program_cranelift().unwrap(), 0x0102030405); in test_cranelift_call()
317 vm.execute_program_cranelift(mem).unwrap(), in test_cranelift_call_memfrob()
482 vm.execute_program_cranelift().unwrap(); in test_cranelift_err_stack_out_of_bound()
1781 assert_eq!(vm.execute_program_cranelift().unwrap(), 0x01020304); in test_cranelift_stack2()
1856 assert_eq!(vm.execute_program_cranelift().unwrap(), 0x0); in test_cranelift_string_stack()
2047 assert_eq!(vm.execute_program_cranelift(mem).unwrap(), 0x1); in test_cranelift_tcp_port80_match()
2064 assert_eq!(vm.execute_program_cranelift(mem).unwrap(), 0x0); in test_cranelift_tcp_port80_nomatch()
2081 assert_eq!(vm.execute_program_cranelift(mem).unwrap(), 0x0); in test_cranelift_tcp_port80_nomatch_ethertype()
[all …]
/DragonOS/kernel/crates/rbpf/src/
H A Dlib.rs498 pub fn execute_program_cranelift( in execute_program_cranelift() method
1003 pub fn execute_program_cranelift(&mut self, mem: &'a mut [u8]) -> Result<u64, Error> { in execute_program_cranelift() method
1384 pub fn execute_program_cranelift(&self, mem: &'a mut [u8]) -> Result<u64, Error> { in execute_program_cranelift() method
1386 self.parent.execute_program_cranelift(mem, &mut mbuff) in execute_program_cranelift()
1684 pub fn execute_program_cranelift(&self) -> Result<u64, Error> { in execute_program_cranelift() method
1685 self.parent.execute_program_cranelift(&mut []) in execute_program_cranelift()
/DragonOS/kernel/crates/rbpf/examples/
H A Drbpf_plugin.rs120 result = vm.execute_program_cranelift(&mut memory).unwrap(); in main()