ConfuserEx icon indicating copy to clipboard operation
ConfuserEx copied to clipboard

Cannot deactivate obfuscation of Array initializers

Open thomK77 opened this issue 6 years ago • 2 comments

Hello,

I used the following line to obfuscate strings and array initializers (SI): [assembly: Obfuscation(Exclude = false, Feature = "constants(elements=SI)")]

Since array initialization causes problems with newer versions of MSBuild, I removed the 'I'-Element: [assembly: Obfuscation(Exclude = false, Feature = "constants(elements=S)")]

Unfortunately the obfuscation of array initializers is still happening. Example: The following line var x = new[] { 1, 2, 3 }; will be obfuscated to int[] array = <Module>.‫‎‍‫‫‍‬‏‫‮‫‏‮‭‭‬‮‭‎‍‎‪‫‭​‌‮<int[]>(2086960569u);

Could someone please tell me how to deactivate obfuscations like above?

Thanx Thomas

thomK77 avatar Jun 13 '18 05:06 thomK77

Hello. I also work a bit on protecting the protection. I'm trying to modify the basic protection strings (normal). I understand the encryption and decryption procedures. But not the principle of how the results from the confuser context are written into the assembly. I also do not know how mutation keys are being created. If you wanted to help me understand the principles. I will be glad. I will also share what I have come up with. Eddy ^

0x7c9 avatar Jun 22 '18 23:06 0x7c9

Hello Eddy, I would like to let you know that I cannot assist you. I am sure somone else can. Cheers Thomas

thomK77 avatar Jun 25 '18 05:06 thomK77