removed unneeded entry point address check
committer: ml1050 <ml1050> 1144745835 +0000
This commit is contained in:
+1
-1
@@ -1611,7 +1611,7 @@ void PackArmPe::pack(OutputFile *fo)
|
|||||||
|
|
||||||
if (memcmp(isection[0].name,"UPX",3) == 0)
|
if (memcmp(isection[0].name,"UPX",3) == 0)
|
||||||
throwAlreadyPackedByUPX();
|
throwAlreadyPackedByUPX();
|
||||||
if (!opt->force && (IDSIZE(15) || ih.entry > isection[1].vaddr))
|
if (!opt->force && IDSIZE(15))
|
||||||
throwCantPack("file is possibly packed/protected (try --force)");
|
throwCantPack("file is possibly packed/protected (try --force)");
|
||||||
if (ih.entry && ih.entry < rvamin)
|
if (ih.entry && ih.entry < rvamin)
|
||||||
throwCantPack("run a virus scanner on this file!");
|
throwCantPack("run a virus scanner on this file!");
|
||||||
|
|||||||
+1
-1
@@ -1702,7 +1702,7 @@ void PackW32Pe::pack(OutputFile *fo)
|
|||||||
|
|
||||||
if (memcmp(isection[0].name,"UPX",3) == 0)
|
if (memcmp(isection[0].name,"UPX",3) == 0)
|
||||||
throwAlreadyPackedByUPX();
|
throwAlreadyPackedByUPX();
|
||||||
if (!opt->force && (IDSIZE(15) || ih.entry > isection[1].vaddr))
|
if (!opt->force && IDSIZE(15))
|
||||||
throwCantPack("file is possibly packed/protected (try --force)");
|
throwCantPack("file is possibly packed/protected (try --force)");
|
||||||
if (ih.entry && ih.entry < rvamin)
|
if (ih.entry && ih.entry < rvamin)
|
||||||
throwCantPack("run a virus scanner on this file!");
|
throwCantPack("run a virus scanner on this file!");
|
||||||
|
|||||||
Reference in New Issue
Block a user