mirror of
https://github.com/upx/upx
synced 2025-10-05 19:20:23 +08:00
win32/pe should only handle ix86 files
This commit is contained in:
parent
1d0d538d0c
commit
9220b6f1d5
|
@ -530,7 +530,7 @@ void PackW32Pe::processLoadConf(Reloc *rel, const Interval *iv,
|
||||||
|
|
||||||
bool PackW32Pe::canPack()
|
bool PackW32Pe::canPack()
|
||||||
{
|
{
|
||||||
if (!readFileHeader())
|
if (!readFileHeader() || ih.cpu < 0x14c || ih.cpu > 0x150)
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user