Home - Forums-.NET - Spices.Net - Cross-obfuscation question

Spices.Net

NET code security, tools to protect, obfuscate, tamper defense, code and data safety, recover, convert, optimize, explore, browse and analyze .Net software.

This forum related to following products: Spices.Net Suite, Spices.Net Obfuscator, Spices.Net Decompiler

Cross-obfuscation question
Link Posted: 17-May-2007 17:59
What's necessary to set up project for cross-obfuscation? Just include needed assemblies, or do something else?
I'm asking, because my program throws exception when running after obfuscation \"Method not found: xxx\" (where xxx - method in the referenced assembly)
Link Posted: 18-May-2007 06:39
Yes, you should include all assemblies of your project into obfuscation project (excluding 3rd parties assemblies and system .net assemblies).
But that problem can be related to reflection/serialization - when your code refers to some member by name. In this case you should exclude members referred by name from obfuscation.
To exclude these members you can mark them by NotObfuscateAttribute (obfuscation control attributes you can find in the \\SDK\\Obfuscation Attributes folder. Just add NineRays.ObfuscationAttributes.dll assembly to your project and start to use attributes containing in this assembly in your code, or add source code of these attributes to your project and embed these attributes into your code. Also you can use ExclusionPatterns collection to exclude members by regular expressions).
You can send us your assemblies to receive detailed recommendations and configured spices.project to effectively protect your assemblies.
Link Posted: 22-May-2007 15:57
[quote="NineRays"]
But that problem can be related to reflection/serialization - when your code refers to some member by name. In this case you should exclude members referred by name from obfuscation.

My application doesn't use reflection nor serialization (at least, in that part of the program, which suffered this error). I've sent a test application to demonstrate this problem to your support email.
Link Posted: 23-May-2007 05:38
thanks for the sample. This problem is already fixed, please download latest update.
Link Posted: 23-May-2007 06:06
[quote="NineRays"]thanks for the sample. This problem is already fixed, please download latest update.

Which version do you mean? I tried 5.2.0.5
Link Posted: 23-May-2007 07:35
Yes, today update.
Link Posted: 23-May-2007 18:11
[quote="NineRays"]Yes, today update.

I tried the latest update, it really fixes the problem. Thank you.