Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/rbpf/examples/
H A Drbpf_plugin.rs86 let bytecode = hex::decode(program_text).unwrap(); in main() localVariable
92 let mut vm = rbpf::EbpfVmRaw::new(Some(&bytecode)).unwrap(); in main()
/DragonOS/kernel/crates/rbpf/src/
H A Dinsn_builder.rs2185 let bytecode = program.into_bytes(); in example_from_assembler() localVariable
2195 assert_eq!(bytecode[..32], ref_prog[..32]); in example_from_assembler()
2196 assert_eq!(bytecode[33..], ref_prog[33..]); in example_from_assembler()
/DragonOS/kernel/crates/rbpf/
H A DREADME.md269 // This is the eBPF program, in the form of bytecode instructions.
403 // clang/LLVM. Some minor modification to the bytecode may be required.
503 bytecode in a human-friendly format.