holly-hacker / dnSpy.Extension.HoLLy

A dnSpy extension to aid reversing of obfuscated assemblies
GNU General Public License v3.0
342 stars 31 forks source link

Error when creating CFG: Edge Type Unconditional not supported #60

Closed ElektroKill closed 3 years ago

ElektroKill commented 3 years ago

Hello,

While using the extension to view the CFG of a method to debug my code I ran into a problem. When creating the CFG the dnSpy extension throws an exception and complains that the ControlFlowEdgeType.Unconditional is not supported. https://github.com/HoLLy-HaCKeR/dnSpy.Extension.HoLLy/blob/35c147277bb680b12863b6927e88a5d26ba637b3/dnSpy.Extension.HoLLy/ControlFlowGraph/GraphProvider.cs#L136

To reproduce please download the file provided and navigate to the method at token 0x06000017 and attempt to create a control flow graph.

UnpackMe.zip

Thanks in advance!