diff --git a/macho-go/pkg/ios/macho/edit.go b/macho-go/pkg/ios/macho/edit.go index 67a2d8a..2e7ab21 100644 --- a/macho-go/pkg/ios/macho/edit.go +++ b/macho-go/pkg/ios/macho/edit.go @@ -483,10 +483,10 @@ func (mc *MachoContext) removeSymtabCommand() { fmt.Printf("// Erase at=0x%x size=0x%x\n", start, size) mc.file.WriteAt(make([]byte, size), start) - symtab_fix.symoff = 0 - symtab_fix.nsyms = 0 - symtab_fix.stroff = 0 - symtab_fix.strsize = 0 + // symtab_fix.symoff = 0 + // symtab_fix.nsyms = 0 + // symtab_fix.stroff = 0 + // symtab_fix.strsize = 0 mc.file.Seek(ptr, io.SeekStart) mc.file.Write(symtab_fix.Serialize(mc)) break