(
&self,
resolved: ResolvedInstructionRef,
diff_config: &DiffObjConfig,
cb: &mut dyn FnMut(InstructionPart) -> Result<()>,
)
| 229 | } |
| 230 | |
| 231 | fn display_instruction( |
| 232 | &self, |
| 233 | resolved: ResolvedInstructionRef, |
| 234 | diff_config: &DiffObjConfig, |
| 235 | cb: &mut dyn FnMut(InstructionPart) -> Result<()>, |
| 236 | ) -> Result<()> { |
| 237 | let instruction = self.parse_ins_ref(resolved.ins_ref, resolved.code, diff_config)?; |
| 238 | let display_flags = self.instruction_display_flags(diff_config); |
| 239 | let opcode = instruction.opcode(); |
| 240 | cb(InstructionPart::opcode(opcode.name(), opcode as u16))?; |
| 241 | push_args(&instruction, resolved.relocation, &display_flags, cb)?; |
| 242 | Ok(()) |
| 243 | } |
| 244 | |
| 245 | fn relocation_override( |
| 246 | &self, |
nothing calls this directly
no test coverage detected