1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

Unexport all symbols in compressed output.

added src/stub/src/amd64-darwin.macho-upxhide.txt
 changed src/stub/src/amd64-darwin.macho-upxmain.c
This commit is contained in:
jreiser@BitWagon.com 2016-09-11 15:28:42 -07:00 committed by Markus F.X.J. Oberhumer
parent 63dec77ed6
commit 4a1100b6a4
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1 @@
*

View File

@ -698,7 +698,8 @@ typedef struct {
// Build on Mac OS X: (where gcc is really clang)
// gcc -o amd64-darwin.macho-upxmain.exe -fno-stack-protector \
// -Os -fPIC amd64-darwin.macho-upxmain.c -Wl,-pagezero_size,0xffff0000 \
// -Wl,-no_pie -Wl,-no_uuid -Wl,-no_function_starts -Wl,-headerpad,0x400
// -Wl,-no_pie -Wl,-no_uuid -Wl,-no_function_starts -Wl,-headerpad,0x400 \
// -Wl,-unexported_symbols_list amd64-darwin.macho-upxhide.txt
int
main(int argc, char *argv[])
{