def _parseSymbols(self):
        """
        Parse out the symbols that this elf binary has for us.
        """
        for sec in self.sections:
            if sec.sh_type == SHT_SYMTAB:
                symtab = self.readAtOffset(sec.sh_offset, sec.sh_size)
                while symtab:
                    if self.bits == 32:
                        newsym = Elf32Symbol()
                    elif self.bits == 64:
                        newsym = Elf64Symbol()
                    else:
                        raise Exception((self.bits) % 'Platform not supported: %d')

                    newsym.vsParse(symtab)

                    if newsym.st_name:
                        name = self.getStrtabString(newsym.st_name, ".strtab")
                        newsym.setName(name)
                    self.addSymbol(newsym)
                    symtab = symtab[len(newsym):]
dataset/ETHPy150Open columbia/libtrack/libtrack/elfmod/Elf/__init__.py/Elf._parseSymbols/swapped operands of `%`