From 0a070941b1faf2c65fdf98bb0636ea46611a26ee Mon Sep 17 00:00:00 2001 From: cocay Date: Wed, 3 Jan 2024 22:09:08 +0700 Subject: [PATCH] keep symbol table --- macho-go/internal/wrapper/cli_parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macho-go/internal/wrapper/cli_parser.go b/macho-go/internal/wrapper/cli_parser.go index 31ea0e4..2f2ed25 100644 --- a/macho-go/internal/wrapper/cli_parser.go +++ b/macho-go/internal/wrapper/cli_parser.go @@ -63,7 +63,7 @@ type PepeArgument struct { Rpath []string `short:"r" help:"Add more LC_RPATH"` RemoveCodeSign bool `default:"false" negatable:"" help:"Remove LC_CODE_SIGNATURE"` RemoveExports bool `default:"false" negatable:"" help:"Clear the export table/trie"` - RemoveSymbolTable bool `default:"true" negatable:"" help:"Remove LC_SYMTAB and LC_DYSYMTAB"` + RemoveSymbolTable bool `default:"false" negatable:"" help:"Remove LC_SYMTAB and LC_DYSYMTAB"` RemoveOthers bool `default:"false" negatable:"" help:"Remove LC_FUNCTION_STARTS, LC_DATA_IN_CODE, ..."` RemoveID bool `default:"false" negatable:"" help:"(TODO) Remove LC_ID_DYLIB"` RemoveInitFunctions bool `default:"false" name:"remove-inits" negatable:"" help:"Clear MOD_INIT_FUNC section"`