uroboros-diversification/src/disasm/Parser.py
def calldes_symb(self, sym):
        """
        Parse function call destination symbol (address or label)
        :param s: lexeme
        """
        items = sym.split()
        if (len(items) < 2 and items[0][0] == '#') or \
           ('+' in items[1] or '-' in items[1]):
            addr = int(items[0][1:], 16) & (-2)
            return self.get_func('S_0x%X' % addr, False, addr)
        if '@' in items[1]:
            name = items[1].split('@')[0]
            return self.get_func(name[1:], True)
        return None

        Parse function call destination symbol (address or label)
        :param s: lexeme
        
Parse function call destination symbol (address or label)
Parse function call destination symbol ( address or label )
def calldes_symb(self, sym):
        items = sym.split()
        if (len(items) < 2 and items[0][0] == '#') or \
           ('+' in items[1] or '-' in items[1]):
            addr = int(items[0][1:], 16) & (-2)
            return self.get_func('S_0x%X' % addr, False, addr)
        if '@' in items[1]:
            name = items[1].split('@')[0]
            return self.get_func(name[1:], True)
        return None
def calldes_symb ( self , sym ) : items = sym . split ( ) if ( len ( items ) < 2 and items [ 0 ] [ 0 ] == '#' ) or ( '+' in items [ 1 ] or '-' in items [ 1 ] ) : addr = int ( items [ 0 ] [ 1 : ] , 16 ) & ( - 2 ) return self . get_func ( 'S_0x%X' % addr , False , addr ) if '@' in items [ 1 ] : name = items [ 1 ] . split ( '@' ) [ 0 ] return self . get_func ( name [ 1 : ] , True ) return None
Parse function call destination symbol (address or label)
Parse function call destination symbol ( address or label )
"""
        Parse function call destination symbol (address or label)
        :param s: lexeme
        """
self
sym
s
None