cecil
cecil copied to clipboard
IndexOutOfRangeException for obfuscated assemblies
An error appears when open the obfuscated assembly. This may be logical for a secure assembly, but because of this error breaks the ILSpy (when searching).
What I did: I used the ConfuserEx with one rule: "invalid metadata" (This protection adds invalid metadata to modules to prevent disassembler/decompiler from opening them)
Looks like this:
Obfuscated assembly: Lidgren.Network.dll.zip
cecil doesn't support obfuscated assemblies.
Yeah that assembly is completely broken. I suggest ILSpy protects against that because it seems like we can throw from a thousand places with an assembly like that.