This is a migrated thread and some comments may be shown as answers.

JD crashes when trying to decompile obfuscated code

2 Answers 149 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
schddc
Top achievements
Rank 1
schddc asked on 18 Feb 2015, 02:41 PM
My company has recently started to obfuscate our c# dlls. At this time we have been able to automate the obfuscation through the command line with the obfuscator tool we are using. One of the tests we run on the output is to verify the DLLs were obfuscated correctly, currently this has to be done by hand which involves trying to open the assembly in .NET Reflector and Telerik JustDecompile. Opening the assembly in the GUI works well JD doesn't crash and we can see the DLL has been obfuscated. We would like to automate this test but when we run JD through the command line with our obfuscated DLL JD crashes. We would like for it not to crash and return some error that it failed to decompile.

2 Answers, 1 is accepted

Sort by
0
schddc
Top achievements
Rank 1
answered on 18 Feb 2015, 02:58 PM
Sorry about the double post. When I posted the first time I received an error from the forum software. If an admin can please delete my other thread that would be great. http://www.telerik.com/forums/jd-crsahes-on-command-line-when-trying-to-decompile-obfuscated-code
0
Tsviatko Yovtchev
Telerik team
answered on 19 Feb 2015, 01:07 PM
Hello,

Rather unfortunately, obfuscated assemblies are really not a supported scenario in JD. It is close to impossible to test for possible crashes against every version of every obfuscator provided that the sole purpose of an ofuscator is to crash tools like JD.

On a side note you might try some combination of unit tests and UI Automation tests in your scenario.

Regards,
Tsviatko Yovtchev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
schddc
Top achievements
Rank 1
Answers by
schddc
Top achievements
Rank 1
Tsviatko Yovtchev
Telerik team
Share this question
or