Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/rbpf/src/
H A Dverifier.rs25 fn reject<S: AsRef<str>>(msg: S) -> Result<(), Error> { in reject() function
32 reject(format!( in check_prog_len()
38 reject(format!( in check_prog_len()
46 reject("no program set, call set_program() to load one")?; in check_prog_len()
50 reject("program does not end with “EXIT” instruction")?; in check_prog_len()
59 _ => reject(format!( in check_imm_endian()
70 reject(format!("incomplete LD_DW instruction (insn #{insn_ptr:?})"))?; in check_load_dw()
79 reject(format!("infinite loop (insn #{insn_ptr:?})"))?; in check_jmp_offset()
84 reject(format!( in check_jmp_offset()
91 reject(format!( in check_jmp_offset()
[all …]