static LibAnalyzer FindAnalyzer(string libPath, Dictionary <string, LibAnalyzer> analyzers) { LibAnalyzer analyzer = null; analyzers.TryGetValue(libPath, out analyzer); return(analyzer); }
static Dictionary <string, LibAnalyzer> InitAnalyzers(Dictionary <string, string> dumpPathes) { var analyzers = new Dictionary <string, LibAnalyzer>(); foreach (var pathPair in dumpPathes) { var analyzer = new LibAnalyzer(pathPair.Value); if (analyzer.Load()) { analyzers.Add(pathPair.Key, analyzer); } } return(analyzers); }