Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/kprobe/src/arch/loongarch64/
H A Dmod.rs18 inst_tmp: [u8; 8], field
44 let inst_tmp_ptr = self.inst_tmp.as_ptr() as usize; in drop()
76 inst_tmp: [0u8; 8], in replace_inst()
78 let inst_tmp_ptr = point.inst_tmp.as_ptr() as usize; in replace_inst()
102 self.inst_tmp.as_ptr() as usize in single_step_address()
106 self.inst_tmp.as_ptr() as usize + 4 in debug_address()
/DragonOS/kernel/crates/kprobe/src/arch/rv64/
H A Dmod.rs29 inst_tmp: [u8; 8], field
100 inst_tmp: [0; 8], in replace_inst()
103 let inst_tmp_ptr = point.inst_tmp.as_ptr() as usize; in replace_inst()
146 self.inst_tmp.as_ptr() as usize in single_step_address()
150 OpcodeTy::Inst16(_) => self.inst_tmp.as_ptr() as usize + 2, in debug_address()
151 OpcodeTy::Inst32(_) => self.inst_tmp.as_ptr() as usize + 4, in debug_address()
/DragonOS/kernel/crates/kprobe/src/arch/x86/
H A Dmod.rs86 let mut inst_tmp = [0u8; MAX_INSTRUCTION_SIZE]; in replace_inst() localVariable
90 inst_tmp.as_mut_ptr(), in replace_inst()
95 let inst = decoder.decode_slice(&inst_tmp).unwrap(); in replace_inst()
100 old_instruction: inst_tmp, in replace_inst()