Errors during verification (peverify.exe)

251 views
Skip to first unread message

Farkhod

unread,
Nov 6, 2016, 9:51:46 PM11/6/16
to ILProtector
Hi,
I've a question on Errors window shown by peverify.exe
For some of the protected dlls, Errors window shows errors like: [HRESULT (0x80070002)] The system cannot find the file specified.
And also some errors like [HRESULT 0x00000029] Unable to resolve token...
However in the main window in the Assemblies grid, the Status column of those dlls dll is shown as Protected with green icon.
Now I'm confused. Is the assembly really protected even if there were some errors in the Verification window? Or the errors in verification means the dll has been successfully obfuscated and errors just proofs that obfuscation worked?
You can refer to the image attached.

Thank you.



Regards,
Farkhod.


ILProtector_Errors.png

VgrSoft

unread,
Nov 7, 2016, 12:24:54 PM11/7/16
to ilpro...@googlegroups.com
Hello,

We know about such types of PEVerify errors, we believe it should be marked as warnings in PEVerify, not error, because PEVerify execution does not return error code (PEVerify exit code equals 0, it means that assembly is valid, in other cases status icon in ILProtector will be red), but PEVerify displays these situations as errors. Next, about reason why it appears. PEVerify can't resolve referenced assemblies and types and displays errors. It can occurs when protected assemblies are copied into different folder without referenced assemblies. Copy referenced assemblies too and PEVerify error should be disappeared.
In simple words, there are no protection errors (if you see green status after protection).

Regards,
VgrSoft

--
You received this message because you are subscribed to the Google Groups "ILProtector" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ilprotector+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages