def modStrtabString(self, offset, newstr, section=".strtab"):
        oldstr = self.getStrtabString(offset, section)
        if len(newstr) > len(oldstr):
            raise Exception("Can't replace %d byte string with %d bytes! "
                            "(must be equal or less than original)" % (len(oldstr), len(newstr)))
        self.setFdAtSection(section, offset)
        self.fd.write(newstr)
        return None
dataset/ETHPy150Open columbia/libtrack/libtrack/elfmod/Elf/__init__.py/Elf.modStrtabString/original