[Mono-dev] peverify vs mono --verify-all

mono user mono.user789 at gmail.com
Fri Sep 12 19:28:35 UTC 2014


I would really appreciate help with this. I need to check that a dll I
generated via reflection is correct, however peverify won't even start:

[me at somewhere]$ peverify tmp.dll
Could not load class with token 2000002
* Assertion at class.c:5607, condition `!mono_loader_get_last_error ()' not
met

Aborted

On the other hand,

mono --verify-all --security=validil tmp.dll

ponders things for a bit, then starts executing the dll file (it's really
an executable).

Could someone please tell me if the two commands should find the same
problems  or not. Also, can I just take it that the dll is fine if the
Microsoft implementation of peverify says so? Any hints on what to try to
get the Mono implementation of peverify working would be especially helpful.

I am using mono-3.10.0-branch because it fixes a problem manifesting itself
with a triggered assertion inside mono (many thanks to Zoltan for the fix).
I have seen similar behaviour under other recent versions of Mono.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140912/0a132287/attachment.html>


More information about the Mono-devel-list mailing list