add UPX_F_BSD_ELF_i386 to the exceptions for patchDecompressor()
This commit is contained in:
parent
c19ffafd8d
commit
0ac2971fc1
@ -244,7 +244,9 @@ void Packer::patchDecompressor(void *loader, int lsize)
|
||||
|| UPX_F_LINUX_ELF64_AMD ==ph.format
|
||||
|| UPX_F_LINUX_ELF32_ARMLE==ph.format
|
||||
|| UPX_F_LINUX_ELFPPC32 ==ph.format
|
||||
|| UPX_F_LINUX_ELF32_ARMBE==ph.format ) {
|
||||
|| UPX_F_LINUX_ELF32_ARMBE==ph.format
|
||||
|| UPX_F_BSD_ELF_i386 ==ph.format
|
||||
) {
|
||||
// ELF calls the decompressor many times; the parameters change!
|
||||
return;
|
||||
}
|
||||
@ -272,7 +274,9 @@ void Packer::defineDecompressorSymbols()
|
||||
|| UPX_F_LINUX_ELF64_AMD ==ph.format
|
||||
|| UPX_F_LINUX_ELF32_ARMLE==ph.format
|
||||
|| UPX_F_LINUX_ELFPPC32 ==ph.format
|
||||
|| UPX_F_LINUX_ELF32_ARMBE==ph.format ) {
|
||||
|| UPX_F_LINUX_ELF32_ARMBE==ph.format
|
||||
|| UPX_F_BSD_ELF_i386 ==ph.format
|
||||
) {
|
||||
// ELF calls the decompressor many times; the parameters change!
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user