mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Oops.
committer: mfx <mfx> 977426094 +0000
This commit is contained in:
parent
09eb201b76
commit
a254e81ba9
|
@ -219,42 +219,6 @@ static Packer *getPacker(InputFile *f)
|
|||
}
|
||||
|
||||
|
||||
static Packer *getUnpacker(InputFile *f)
|
||||
{
|
||||
#if 0
|
||||
if (opt->unix.script_name)
|
||||
{
|
||||
if ((p = func(new PackLinuxI386sep(f),f)) != NULL)
|
||||
return p;
|
||||
}
|
||||
#endif
|
||||
if ((p = func(new PackLinuxI386elf(f),f)) != NULL)
|
||||
return p;
|
||||
if ((p = func(new PackLinuxI386sh(f),f)) != NULL)
|
||||
return p;
|
||||
if ((p = func(new PackLinuxI386(f),f)) != NULL)
|
||||
return p;
|
||||
|
||||
//
|
||||
// .sys and .com
|
||||
//
|
||||
if ((p = func(new PackSys(f),f)) != NULL)
|
||||
return p;
|
||||
if ((p = func(new PackCom(f),f)) != NULL)
|
||||
return p;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static Packer *getPacker(InputFile *f)
|
||||
{
|
||||
Packer *p = try_packers(f, try_pack);
|
||||
if (!p)
|
||||
throwUnknownExecutableFormat();
|
||||
return p;
|
||||
}
|
||||
|
||||
|
||||
static Packer *getUnpacker(InputFile *f)
|
||||
{
|
||||
Packer *p = try_packers(f, try_unpack);
|
||||
|
|
Loading…
Reference in New Issue
Block a user