(
&self,
ins_ref: InstructionRef,
code: &[u8],
diff_config: &DiffObjConfig,
)
| 191 | } |
| 192 | |
| 193 | fn parse_ins_ref( |
| 194 | &self, |
| 195 | ins_ref: InstructionRef, |
| 196 | code: &[u8], |
| 197 | diff_config: &DiffObjConfig, |
| 198 | ) -> Result<rabbitizer::Instruction> { |
| 199 | Ok(rabbitizer::Instruction::new( |
| 200 | self.endianness.read_u32_bytes(code.try_into()?), |
| 201 | Vram::new(ins_ref.address as u32), |
| 202 | self.instruction_flags(diff_config), |
| 203 | )) |
| 204 | } |
| 205 | } |
| 206 | |
| 207 | impl Arch for ArchMips { |
no test coverage detected