Compression part for Mach dylib i386.

This commit is contained in:
John Reiser
2009-05-13 10:40:21 -07:00
parent 9694ff433f
commit 3a9e0b5be6
6 changed files with 355 additions and 24 deletions
+2
View File
@@ -218,6 +218,7 @@ const char *Packer::getDecompressorSections() const
|| UPX_F_VMLINUX_PPC32 ==ph.format
|| UPX_F_MACH_PPC32 ==ph.format
|| UPX_F_MACH_i386 ==ph.format
|| UPX_F_DYLIB_i386 ==ph.format
) {
return opt->small ? lzma_elf_small : lzma_elf_fast;
}
@@ -257,6 +258,7 @@ void Packer::defineDecompressorSymbols()
|| UPX_F_VMLINUX_PPC32 ==ph.format
|| UPX_F_MACH_PPC32 ==ph.format
|| UPX_F_MACH_i386 ==ph.format
|| UPX_F_DYLIB_i386 ==ph.format
) {
// ELF calls the decompressor many times; the parameters change!
return;