uroboros-diversification/src/disasm/Parser.py
def jmptable_p_symb(self, s):
        """
        Parse addressing with scaled index and negative offset: 0x600400(,%rbx, 4)
        :param s: lexeme
        """
        if '(,' not in s: return None
        tokens = s.split(',')
        addr = tokens[0][:-1]
        reg = self.reg_symb(tokens[1])
        off = tokens[2][:-1]
        return None if reg is None \
            else Types.JmpTable_PLUS((int(addr, 16), reg, int(off)))

        Parse addressing with scaled index and negative offset: 0x600400(,%rbx, 4)
        :param s: lexeme
        
Parse addressing with scaled index and negative offset: 0x600400(,%rbx, 4)
Parse addressing with scaled index and negative offset : 0x600400 ( %rbx 4 )
def jmptable_p_symb(self, s):
        if '(,' not in s: return None
        tokens = s.split(',')
        addr = tokens[0][:-1]
        reg = self.reg_symb(tokens[1])
        off = tokens[2][:-1]
        return None if reg is None \
            else Types.JmpTable_PLUS((int(addr, 16), reg, int(off)))
def jmptable_p_symb ( self , s ) : if '(,' not in s : return None tokens = s . split ( ',' ) addr = tokens [ 0 ] [ : - 1 ] reg = self . reg_symb ( tokens [ 1 ] ) off = tokens [ 2 ] [ : - 1 ] return None if reg is None else Types . JmpTable_PLUS ( ( int ( addr , 16 ) , reg , int ( off ) ) )
Parse addressing with scaled index and negative offset: 0x600400(,%rbx, 4)
Parse addressing with scaled index and negative offset : 0x600400 ( %rbx 4 )
"""
        Parse addressing with scaled index and negative offset: 0x600400(,%rbx, 4)
        :param s: lexeme
        """
self
s
None