Dlls/ExcludePublicMembers: Private methods signature?
mclarke
Posts: 9
Hi,
I'm obfuscating a DLL (SA 6.6.1.44) and I'm a little surprised that the signature of the private methods aren't changing. What I mean is if I had a class as follows:
The private method gets obfuscated to:
I would have expected something along the lines of:
I don't know if I've overlooked something, so I'd like to clarify if I'm doing something wrong?
If not, as it makes the code that much more readable, could this be included as a feature please? The same behaviour happens if you specify ExcludePublicMembers in the .saproj file for an exe.
Martin
I'm obfuscating a DLL (SA 6.6.1.44) and I'm a little surprised that the signature of the private methods aren't changing. What I mean is if I had a class as follows:
public class MyImportantClass { //... public stuff here private void MyComplicatedMethod(object aNameThatGivesAClue) { //... important stuff here } }
The private method gets obfuscated to:
private void *unprintablecharacter*(object aNameThatGivesAClue) { //... obfuscated code, but with the object name everywhere!! }
I would have expected something along the lines of:
private void *unprintablecharacter*(object xasih) { //... obfuscated code, unclear what xasih is for. }
I don't know if I've overlooked something, so I'd like to clarify if I'm doing something wrong?
If not, as it makes the code that much more readable, could this be included as a feature please? The same behaviour happens if you specify ExcludePublicMembers in the .saproj file for an exe.
Martin
Comments
For example...
returns the following sig for the private method.
I will ask our development team if we can improve the behaviour. I cannot promise anything, however.
Just to update you on what Chris said, we're going to try to get a patch out for this at the start of next week (hopefully Monday 13th).
Thank you for reporting this.
Dom.
Project Manager,
Redgate.
Thanks for the update, that is great news regarding a patch. Should I just keep an eye on the forum for the patch being released?
Thanks,
Martin
Project Manager,
Redgate.
Just a quick update for you. You have probably noticed that we haven't managed to release SmartAssembly 6.2.2 quite as quickly as we'd hoped. We're now aiming to make this release on Friday. Again, I'll let you know here when that happens.
Sorry for the delay,
Dom.
Project Manager,
Redgate.
I've just released SmartAssembly 6.6.2.35. You should be able to download it by clicking on 'Check for updates' in SmartAssembly.
Thanks for your patience,
Dom.
Project Manager,
Redgate.