public override IDeobfuscator moduleReloaded(ModuleDefinition module) { var newOne = new Deobfuscator(options); newOne.setModule(module); newOne.cliSecureAttributes = lookup(module, cliSecureAttributes, "Could not find CliSecure attribute"); newOne.cliSecureRtType = new CliSecureRtType(module, cliSecureRtType); newOne.stringDecrypter = new StringDecrypter(module, stringDecrypter); newOne.resourceDecrypter = new ResourceDecrypter(module, resourceDecrypter); newOne.proxyCallFixer = new ProxyCallFixer(module, proxyCallFixer); newOne.csvm = new vm.Csvm(DeobfuscatedFile.DeobfuscatorContext, module, csvm); return newOne; }
public override IDeobfuscator moduleReloaded(ModuleDefinition module) { var newOne = new Deobfuscator(options); newOne.setModule(module); newOne.cliSecureAttribute = DeobUtils.lookup(module, cliSecureAttribute, "Could not find CliSecure attribute"); newOne.cliSecureRtType = new CliSecureRtType(module, cliSecureRtType); newOne.stringDecrypter = new StringDecrypter(module, stringDecrypter); newOne.proxyDelegateFinder = new ProxyDelegateFinder(module, proxyDelegateFinder); return newOne; }