Home
last modified time | relevance | path

Searched refs:to_insn_vec (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/crates/rbpf/tests/
H A Ddisassembler.rs9 use rbpf::{assembler::assemble, disassembler::to_insn_vec};
16 let insn = to_insn_vec(&asm);
369 let prog = to_insn_vec(&insns); in test_offset_overflow()
H A Dassembler.rs13 Ok(ebpf::to_insn_vec(&(assemble(src))?)) in asm()
/DragonOS/kernel/src/bpf/prog/
H A Dverifier.rs12 use rbpf::ebpf::to_insn_vec;
38 let mut fmt_insn = to_insn_vec(instructions); in relocation()
/DragonOS/kernel/crates/rbpf/examples/
H A Dto_json.rs27 let insns = disassembler::to_insn_vec(prog); in to_json()
/DragonOS/kernel/crates/rbpf/src/
H A Ddisassembler.rs202 pub fn to_insn_vec(prog: &[u8]) -> Vec<HLInsn> { in to_insn_vec() function
797 for insn in to_insn_vec(prog) { in disassemble()
803 for insn in to_insn_vec(prog) { in disassemble()
H A Debpf.rs618 pub fn to_insn_vec(prog: &[u8]) -> Vec<Insn> { in to_insn_vec() function