Allow __PAGEZERO.vmsize to be 0x1000 on x86_64, as for "go"-language.

https://github.com/upx/upx/issues/59
	modified:   p_mach.cpp
	modified:   p_mach.h
This commit is contained in:
John Reiser
2017-02-03 14:37:29 -08:00
parent 1bcd259c00
commit 2cefd34bb7
2 changed files with 18 additions and 2 deletions
+1
View File
@@ -855,6 +855,7 @@ protected:
Mach_segment_command *msegcmd; // LC_SEGMENT first, without sections
unsigned o_routines_cmd; // file offset to LC_ROUINTES
upx_uint64_t prev_init_address;
upx_uint64_t pagezero_vmsize;
Mach_header mhdri;
Mach_header mhdro;