mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Comment on current state of stub/fold* vs decompress, and independent unfilter.
p_lx_elf.cpp p_lx_exc.cpp committer: jreiser <jreiser> 1037072124 +0000
This commit is contained in:
parent
de6e8c8020
commit
12c6cd8021
|
@ -66,9 +66,14 @@ PackLinuxI386elf::getFilters() const
|
|||
{
|
||||
static const int filters[] = {
|
||||
0x49, 0x46,
|
||||
#if 1
|
||||
// FIXME 2002-11-11: We use stub/fold_elf86.asm, which calls the
|
||||
// decompressor multiple times, and unfilter is independent of decompress.
|
||||
// Currently only filters 0x49, 0x46, 0x80..0x87 can handle this;
|
||||
// and 0x80..0x87 are regarded as "untested".
|
||||
#if 0
|
||||
0x26, 0x24, 0x11, 0x14, 0x13, 0x16, 0x25, 0x15, 0x12,
|
||||
#else
|
||||
#endif
|
||||
#if 0
|
||||
0x83, 0x36, 0x26,
|
||||
0x86, 0x80,
|
||||
0x84, 0x87, 0x81,
|
||||
|
|
|
@ -63,10 +63,15 @@ const int *PackLinuxI386::getCompressionMethods(int method, int level) const
|
|||
const int *PackLinuxI386::getFilters() const
|
||||
{
|
||||
static const int filters[] = {
|
||||
#if 1
|
||||
0x26, 0x24, 0x11, 0x14, 0x13, 0x16, 0x25, 0x15, 0x12,
|
||||
#else
|
||||
0x49, 0x46,
|
||||
// FIXME 2002-11-11: We use stub/fold_exec86.asm, which calls the
|
||||
// decompressor multiple times, and unfilter is independent of decompress.
|
||||
// Currently only filters 0x49, 0x46, 0x80..0x87 can handle this;
|
||||
// and 0x80..0x87 are regarded as "untested".
|
||||
#if 0
|
||||
0x26, 0x24, 0x11, 0x14, 0x13, 0x16, 0x25, 0x15, 0x12,
|
||||
#endif
|
||||
#if 0
|
||||
0x83, 0x86, 0x80, 0x84, 0x87, 0x81, 0x82, 0x85,
|
||||
0x24, 0x16, 0x13, 0x14, 0x11, 0x25, 0x15, 0x12,
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user