Open mako3551 opened 9 years ago
Hi, To debug the ouput, you need to disable the Anti Debug protection.
yes I tried that (I deleted all the protections)..but stil the exception is throwned...but when I am obfuscating the dll command line writes warning: Could not find resource type...
Maybe the exception is throwned because of this warning
What settings did you used? Also, you might want to try the latest builds from the CI Server.
I am using version v0.5.0
You need to set the preset to a lower value, as the Maximum preset includes all protections, including Anti Debug protection.
Ok I used this settings and I stil have the smae problem...
Anti Debug protection is included in the Minimum preset. In fact, you could keep your previous settings and add a line: "Remove" "anti debug" and it should solve it.
I need to add this line to project xml?
You could do it like this:
My settings now:
And it crashes on this:
Hi, It doesn't seems to be caused by Anti Debug protection. Does it work outside the debugger?
Yes, We can avoid the "ExecutionEngineException" from the obfuscated dll to remove anti-debug mode. It will resolve the issue.
@mako3551 Did you find any solution?
Hi niravparsana94,
no. Situations when I need to debug this dll are very rare, so I decided to let it be. When I need to debug this dll, I need to copy not obfuscated dll to project and start debug.
MAY-02-2018: The following settings will do the trick:
<project outputDir="Obfuscated" baseDir="." xmlns="http://confuser.codeplex.com">
<module path="YOUR.dll">
<rule preset="none" pattern="true">
<protection id="constants" />
<protection id="ctrl flow" />
<protection id="ref proxy" />
</rule>
</module>
</project>
Hi,
I am using confuser ex on obfuscating license dll...it works fine... but I need to debug it by myself sometimes... it is possible to debug obfuscated dll? I am attaching on process from Visual studio 2012 and it crashes on Exception: System.ExecutionEngineException