开发者

Is there a simple way to decode PEVerify errors and warnings?

开发者 https://www.devze.com 2023-03-17 23:39 出处:网络
Given PEVerify error and warning output such as that below, how does one track back to the offending 开发者_JS百科class and interface names?Assume I am not a compiler author or IL magician.

Given PEVerify error and warning output such as that below, how does one track back to the offending 开发者_JS百科class and interface names? Assume I am not a compiler author or IL magician.

[MD]: Error: Class implements interface but not method (class:0x02000091; interface:0x06000169;method:0x00000000). [token:0x09000043]
[MD]: Warning: MemberRef has a duplicate, token=0x0a0001ff. [token:0x0A000060]


Use ILDASM and load the assembly in question. Go to View->MetaInfo->Show! This opens up a text viewer showing a human readable version of the assembly metadata. Search for the hex identifiers (but skip the "0x" portion) to find the relevant class, interface and methods.

0

精彩评论

暂无评论...
验证码 换一张
取 消