Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/kprobe/src/arch/rv64/
H A Dmod.rs28 old_instruction: OpcodeTy, field
55 match self.old_instruction { in drop()
69 self.old_instruction in drop()
99 old_instruction: OpcodeTy::Inst16(0), in replace_inst()
105 point.old_instruction = OpcodeTy::Inst16(inst_16); in replace_inst()
115 point.old_instruction = OpcodeTy::Inst32(inst_32); in replace_inst()
131 point.old_instruction in replace_inst()
140 match self.old_instruction { in return_address()
149 match self.old_instruction { in debug_address()
/DragonOS/kernel/crates/kprobe/src/arch/x86/
H A Dmod.rs21 old_instruction: [u8; MAX_INSTRUCTION_SIZE], field
30 self.old_instruction.as_ptr(), in drop()
37 let inst = decoder.decode_slice(&self.old_instruction).unwrap(); in drop()
100 old_instruction: inst_tmp, in replace_inst()
127 self.old_instruction.as_ptr() as usize in single_step_address()
130 self.old_instruction.as_ptr() as usize + self.old_instruction_len in debug_address()