lextm / ncloak

Automatically exported from code.google.com/p/ncloak
0 stars 1 forks source link

full obfuscation faults #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Running ncloak under mono (ubuntu 10.04) with no parameters has no problems, 
but obfuscation seems to be none. ILSpy (Windows) perfectly decompiles it.

If I add (for example) /full parameter, application crashes with following 
message:

Creating call map
=================

Unhandled Exception: System.ArgumentException: An element with the same key 
already exists in the dictionary.
  at System.Collections.Generic.Dictionary`2[System.String,TiviT.NCloak.Mapping.MemberMapping].Add (System.String key, TiviT.NCloak.Mapping.MemberMapping value) [0x00000] 
  at TiviT.NCloak.Mapping.TypeMapping.AddMethodMapping (System.String methodName, System.String obfuscatedMethodName) [0x00000] 
  at TiviT.NCloak.CloakTasks.MappingTask.ProcessAssembly (ICloakContext context, Mono.Cecil.AssemblyDefinition definition) [0x00000] 
  at TiviT.NCloak.CloakTasks.MappingTask.RunTask (ICloakContext context) [0x00000] 
  at TiviT.NCloak.CloakManager.Run (ICloakContext context) [0x00000] 
  at TiviT.NCloak.Console.Program.Main (System.String[] args) [0x00000]

Original issue reported on code.google.com by ilyabreev@gmail.com on 20 Oct 2011 at 8:15