public CommandLineParser(IList<IDeobfuscatorInfo> deobfuscatorInfos, FilesDeobfuscator.Options filesOptions) { this.deobfuscatorInfos = deobfuscatorInfos; this.filesOptions = filesOptions; this.filesOptions.DeobfuscatorInfos = deobfuscatorInfos; this.filesOptions.AssemblyClientFactory = new NewAppDomainAssemblyClientFactory(); addAllOptions(); }
static void parseCommandLine(string[] args, FilesDeobfuscator.Options options) { new CommandLineParser(deobfuscatorInfos, options).parse(args); Log.vv("Args:"); Log.indent(); foreach (var arg in args) Log.vv("{0}", Utils.toCsharpString(arg)); Log.deIndent(); }