(&self, resolved: ResolvedInstructionRef)
| 78 | } |
| 79 | |
| 80 | fn parse_ins_ref(&self, resolved: ResolvedInstructionRef) -> Result<powerpc::Ins> { |
| 81 | let mut code = u32::from_be_bytes(resolved.code.try_into()?); |
| 82 | if let Some(reloc) = resolved.relocation { |
| 83 | code = zero_reloc(code, reloc.relocation); |
| 84 | } |
| 85 | let op = powerpc::Opcode::from(resolved.ins_ref.opcode); |
| 86 | Ok(powerpc::Ins { code, op }) |
| 87 | } |
| 88 | |
| 89 | fn find_reloc_arg( |
| 90 | &self, |
no test coverage detected