check processor type in PackW32Pe::canUnpack
This commit is contained in:
+1
-1
@@ -1105,7 +1105,7 @@ void PackW32Pe::pack(OutputFile *fo)
|
|||||||
|
|
||||||
int PackW32Pe::canUnpack()
|
int PackW32Pe::canUnpack()
|
||||||
{
|
{
|
||||||
if (!readFileHeader())
|
if (!readFileHeader() || ih.cpu < 0x14c || ih.cpu > 0x150)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
unsigned objs = ih.objects;
|
unsigned objs = ih.objects;
|
||||||
|
|||||||
Reference in New Issue
Block a user