(self)
return "\n".join(sa)
Return the pretty-printed IRSB.
Return the pretty-printed IRSB.
Return the pretty - printed IRSB .
def _pp_str(self) -> str:
        """
        Return the pretty-printed IRSB.
        """
        sa = []
        sa.append("IRSB {")
        for i, ins in enumerate(self._instructions):
            sa.append(
                "   %02d | ------ %08x, %d ------"
                % (i, ins.address.offset, ins.length)
            )
            for op in ins.ops:
                sa.append("  +%02d | %s" % (op.seq.uniq, pypcode.PcodePrettyPrinter.fmt_op(op)))

        if isinstance(self.next, int):
            next_str = '%x' % self.next
        else:
            next_str = str(self.next)
        sa.append("   NEXT: %s; %s" % (next_str, self.jumpkind))
        sa.append("}")
        return "\n".join(sa)
def _pp_str ( self ) -> str : sa = [ ] sa . append ( "IRSB {" ) for i , ins in enumerate ( self . _instructions ) : sa . append ( "   %02d | ------ %08x, %d ------" % ( i , ins . address . offset , ins . length ) ) for op in ins . ops : sa . append ( "  +%02d | %s" % ( op . seq . uniq , pypcode . PcodePrettyPrinter . fmt_op ( op ) ) ) if isinstance ( self . next , int ) : next_str = '%x' % self . next else : next_str = str ( self . next ) sa . append ( "   NEXT: %s; %s" % ( next_str , self . jumpkind ) ) sa . append ( "}" ) return "\n" . join ( sa )