def writeDynamic(self):
        secsize = self.setFdAtSection('.dynsym')

        if self.bits == 32:
            sym = Elf32Symbol()
        elif self.bits == 64:
            sym = Elf64Symbol()
        else:
            raise Exception('Platform not supported: %d' % (self.bits))

        dsize = len(sym) * len(self.dynamic_symbols)
        if dsize != secsize:
            raise Exception((dsize, secsize) % "Can't write out symbol table of different size (%d != %d)")

        for sym in self.dynamic_symbols:
            symbytes = sym.vsEmit()
            self.fd.write(symbytes)
dataset/ETHPy150Open columbia/libtrack/libtrack/elfmod/Elf/__init__.py/Elf.writeDynamic/swapped operands of `%`