示例#1
0
 public ProxyCallFixer(ModuleDefinition module, ProxyCallFixer oldOne)
     : base(module)
 {
     foreach (var method in oldOne.delegateCreatorMethods)
     {
         setDelegateCreatorMethod(lookup(method, "Could not find delegate creator method"));
     }
 }
示例#2
0
 protected override void scanForObfuscator()
 {
     findCliSecureAttribute();
     cliSecureRtType = new CliSecureRtType(module);
     cliSecureRtType.find(ModuleBytes);
     stringDecrypter = new StringDecrypter(module, cliSecureRtType.StringDecrypterMethod);
     stringDecrypter.find();
     resourceDecrypter = new ResourceDecrypter(module);
     resourceDecrypter.find();
     proxyCallFixer = new ProxyCallFixer(module);
     proxyCallFixer.findDelegateCreator();
     csvm = new vm.Csvm(DeobfuscatedFile.DeobfuscatorContext, module);
     csvm.find();
 }
示例#3
0
 protected override void scanForObfuscator()
 {
     findCliSecureAttribute();
     cliSecureRtType = new CliSecureRtType(module);
     cliSecureRtType.find(ModuleBytes);
     stringDecrypter = new StringDecrypter(module, cliSecureRtType.StringDecrypterMethod);
     stringDecrypter.find();
     resourceDecrypter = new ResourceDecrypter(module);
     resourceDecrypter.find();
     proxyCallFixer = new ProxyCallFixer(module);
     proxyCallFixer.findDelegateCreator();
     csvm = new vm.Csvm(DeobfuscatedFile.DeobfuscatorContext, module);
     csvm.find();
 }
示例#4
0
 public ProxyCallFixer(ModuleDefinition module, ProxyCallFixer oldOne)
     : base(module)
 {
     foreach (var method in oldOne.delegateCreatorMethods)
         setDelegateCreatorMethod(lookup(method, "Could not find delegate creator method"));
 }