cecil icon indicating copy to clipboard operation
cecil copied to clipboard

IndexOutOfRangeException for obfuscated assemblies

Open EFLFE opened this issue 7 years ago • 2 comments

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).

img

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:

img

Obfuscated assembly: Lidgren.Network.dll.zip

EFLFE avatar Jan 17 '18 08:01 EFLFE

cecil doesn't support obfuscated assemblies.

bprg avatar Jan 17 '18 09:01 bprg

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.

jbevain avatar Jan 17 '18 19:01 jbevain