コード例 #1
0
ファイル: Deobfuscator.cs プロジェクト: xuan2261/de4dot
 void RemoveObfuscatorJunk(MethodsDecrypterBase methodsDecrypter)
 {
     AddTypesToBeRemoved(methodsDecrypter.DelegateTypes, "Obfuscator method delegate type");
     AddResourceToBeRemoved(methodsDecrypter.Resource, "Encrypted methods resource");
     AddTypeToBeRemoved(mainType.InvokerDelegate, "Invoker delegate type");
     AddFieldToBeRemoved(mainType.InvokerInstanceField, "Invoker delegate instance field");
     foreach (var info in mainType.RuntimeFileInfos)
     {
         AddMethodToBeRemoved(info.ProtectMethod, "Obfuscator 'Protect' init method");
     }
     mainType.CleanUp();
 }
コード例 #2
0
ファイル: Deobfuscator.cs プロジェクト: GodLesZ/de4dot
		void RemoveObfuscatorJunk(MethodsDecrypterBase methodsDecrypter) {
			AddTypesToBeRemoved(methodsDecrypter.DelegateTypes, "Obfuscator method delegate type");
			AddResourceToBeRemoved(methodsDecrypter.Resource, "Encrypted methods resource");
			AddTypeToBeRemoved(mainType.InvokerDelegate, "Invoker delegate type");
			AddFieldToBeRemoved(mainType.InvokerInstanceField, "Invoker delegate instance field");
			foreach (var info in mainType.RuntimeFileInfos)
				AddMethodToBeRemoved(info.ProtectMethod, "Obfuscator 'Protect' init method");
			mainType.CleanUp();
		}