public ProxyCallFixer(ModuleDefinition module, ProxyCallFixer oldOne) : base(module) { foreach (var method in oldOne.delegateCreatorMethods) { setDelegateCreatorMethod(lookup(method, "Could not find delegate creator method")); } }
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(); }
public ProxyCallFixer(ModuleDefinition module, ProxyCallFixer oldOne) : base(module) { foreach (var method in oldOne.delegateCreatorMethods) setDelegateCreatorMethod(lookup(method, "Could not find delegate creator method")); }