uroboros-diversification/src/disasm/Parser.py
def binptr_p_symb(self, s):
        """
        Parse addressing with register plus offset: 0x10(%rax)
        :param s: lexeme
        """
        if ',' in s or ':' in s: return None
        items = s.split('(')
        offset = items[0]
        reg = self.reg_symb(items[1][:-1])
        return None if reg is None else Types.BinOP_PLUS((reg, int(offset, 16)))

        Parse addressing with register plus offset: 0x10(%rax)
        :param s: lexeme
        
Parse addressing with register plus offset: 0x10(%rax)
Parse addressing with register plus offset : 0x10 ( %rax )
def binptr_p_symb(self, s):
        if ',' in s or ':' in s: return None
        items = s.split('(')
        offset = items[0]
        reg = self.reg_symb(items[1][:-1])
        return None if reg is None else Types.BinOP_PLUS((reg, int(offset, 16)))
def binptr_p_symb ( self , s ) : if ',' in s or ':' in s : return None items = s . split ( '(' ) offset = items [ 0 ] reg = self . reg_symb ( items [ 1 ] [ : - 1 ] ) return None if reg is None else Types . BinOP_PLUS ( ( reg , int ( offset , 16 ) ) )
Parse addressing with register plus offset: 0x10(%rax)
Parse addressing with register plus offset : 0x10 ( %rax )
"""
        Parse addressing with register plus offset: 0x10(%rax)
        :param s: lexeme
        """
self
s
None