| Author |
Message |
rocchellid
Joined: 10 Apr 2012 Posts: 5
|
Posted: Wed Apr 11, 2012 11:30 am Post subject: Obfuscation don't rename local variable |
|
|
Obfuscation is set to:
I want obfuscate using Unicode ...
I want to usa advanced renaming ...
but in code proced I see thet all local variable passed in argument have original name
Resul:
public bool CambiaPercorso(clsMissione Missione, clsSegmento ProssimoSegmento, List<clsSegmento> SegmentiBloccati, List<clsSegmento> ProssimiSegmentiVeicoliBloccati)
Aspected:
public bool CambiaPercorso(clsMissione aaa, clsSegmento bbb, List<clsSegmento> ccc, List<clsSegmento> ddd)
Regards,
Davide |
|
| Back to top |
|
 |
Simon C
Joined: 26 Feb 2008 Posts: 140 Location: Red Gate Software
|
Posted: Wed Apr 11, 2012 11:37 am Post subject: |
|
|
Which version of SmartAssembly are you using? Method parameters are obfuscated starting in version 6.6.2.
Alternatively, you could turn on pruning, which will prune all the method parameter names it can |
|
| Back to top |
|
 |
rocchellid
Joined: 10 Apr 2012 Posts: 5
|
Posted: Wed Apr 11, 2012 12:57 pm Post subject: |
|
|
Version is 6.6.3.41 and pruning is already active ...
Dll is made by VS 2010 in C#
I see that in private method, paramenters are renamed but a very similar name Veicolo becames veicolo1.
Only local (private in class) variable method and properties seems to be obfuscated as requested ... |
|
| Back to top |
|
 |
Simon C
Joined: 26 Feb 2008 Posts: 140 Location: Red Gate Software
|
Posted: Wed Apr 11, 2012 2:39 pm Post subject: |
|
|
If a method is not obfuscated for whatever reason, then the method parameters are not obfuscated. This is so named parameters, reflection, and the like still work.
Bear in mind that, without pdbs, local variables have no names at all. The name displayed in a decompiler is inferred from the type name and operations that act on that variable. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group