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