pyvex/__init__.py
def _get_defaultexit_target(self):
        '''
        Retrieves the default exit target, if it is constant.
        '''
        if isinstance(self.next, IRExpr.Const):
            return self.next.con.value

        if not isinstance(self.next, IRExpr.RdTmp):
            raise PyVEXError("unexpected self.next type: %s", self.next.__class__.__name__)

        tmp_next = self.next.tmp
        for stmt in reversed(self.statements):
            if isinstance(stmt, IRStmt.WrTmp) and stmt.tmp == tmp_next:
                data = stmt.data

                if isinstance(data, IRExpr.Const):
                    return data.con.value
                elif isinstance(data, IRExpr.RdTmp):
                    tmp_next = data.tmp
                else:
                    return None

            elif isinstance(stmt, IRStmt.LoadG) and stmt.dst == tmp_next:
                return None

        raise PyVEXError('Malformed IRSB at address 0x%x. Please report to Fish.' % self._addr)

        Retrieves the default exit target, if it is constant.
        
Retrieves the default exit target, if it is constant.
Retrieves the default exit target if it is constant .
def _get_defaultexit_target(self):
        if isinstance(self.next, IRExpr.Const):
            return self.next.con.value
        if not isinstance(self.next, IRExpr.RdTmp):
            raise PyVEXError("unexpected self.next type: %s", self.next.__class__.__name__)
        tmp_next = self.next.tmp
        for stmt in reversed(self.statements):
            if isinstance(stmt, IRStmt.WrTmp) and stmt.tmp == tmp_next:
                data = stmt.data
                if isinstance(data, IRExpr.Const):
                    return data.con.value
                elif isinstance(data, IRExpr.RdTmp):
                    tmp_next = data.tmp
                else:
                    return None
            elif isinstance(stmt, IRStmt.LoadG) and stmt.dst == tmp_next:
                return None
        raise PyVEXError('Malformed IRSB at address 0x%x. Please report to Fish.' % self._addr)
def _get_defaultexit_target ( self ) : if isinstance ( self . next , IRExpr . Const ) : return self . next . con . value if not isinstance ( self . next , IRExpr . RdTmp ) : raise PyVEXError ( "unexpected self.next type: %s" , self . next . __class__ . __name__ ) tmp_next = self . next . tmp for stmt in reversed ( self . statements ) : if isinstance ( stmt , IRStmt . WrTmp ) and stmt . tmp == tmp_next : data = stmt . data if isinstance ( data , IRExpr . Const ) : return data . con . value elif isinstance ( data , IRExpr . RdTmp ) : tmp_next = data . tmp else : return None elif isinstance ( stmt , IRStmt . LoadG ) and stmt . dst == tmp_next : return None raise PyVEXError ( 'Malformed IRSB at address 0x%x. Please report to Fish.' % self . _addr )
Retrieves the default exit target, if it is constant.
Retrieves the default exit target if it is constant .
'''
        Retrieves the default exit target, if it is constant.
        '''
self