94 ostream* os = (ostream*)di->stream;
95 *os << std::showbase << std::hex << x << std::dec;
140 m_di =
new disassemble_info;
142 m_di->arch = bfd_arch_powerpc;
143 m_di->mach = bfd_mach_ppc64;
144 m_di->endian = BFD_ENDIAN_BIG;
180 bool isIndirect = (
m_di->target == 0) && (
m_di->target2 == 0);
182 switch (
m_di->insn_type) {
213 #if defined(HAVE_HPC_GNUBINUTILS) 246 if (
m_di->target != 0) {
247 return vma +
m_di->target;
250 return m_di->target2;
struct disassemble_info * m_di_dis
int GNUbu_fprintf(void *stream, const char *format,...)
int GNUbu_fprintf_stub(void *GCC_ATTR_UNUSED stream, const char *GCC_ATTR_UNUSED format,...)
DecodingCache * cacheLookup(MachInsn *cmi)
static void GNUbu_print_addr(bfd_vma di_vma, struct disassemble_info *di)
static VMA GNUvma2vma(bfd_vma di_vma, MachInsn *insn_addr, VMA insn_vma)
virtual void decode(std::ostream &os, MachInsn *mi, VMA vma, ushort opIndex)
unsigned short int ushort
virtual VMA getInsnTargetVMA(MachInsn *mi, VMA pc, ushort opIndex, ushort sz=0)
int GNUbu_read_memory(bfd_vma vma, bfd_byte *myaddr, unsigned int len, struct disassemble_info *GCC_ATTR_UNUSED di)
void cacheSet(MachInsn *cmi, ushort size)
void GNUbu_print_addr_stub(bfd_vma GCC_ATTR_UNUSED di_vma, struct disassemble_info *GCC_ATTR_UNUSED di)
virtual InsnDesc getInsnDesc(MachInsn *mi, ushort opIndex, ushort sz=0)
struct disassemble_info * m_di
virtual ushort getInsnNumDelaySlots(MachInsn *mi, ushort opIndex, ushort sz=0)