Exemplo n.º 1
0
        public static HashSet <string> GetModulesFromICalls(string icallsListFile)
        {
            string[]         strArray  = File.ReadAllLines(icallsListFile);
            HashSet <string> stringSet = new HashSet <string>();

            foreach (string icall in strArray)
            {
                string icallModule = ModuleMetadata.GetICallModule(icall);
                if (!string.IsNullOrEmpty(icallModule))
                {
                    stringSet.Add(icallModule);
                }
            }
            return(stringSet);
        }
Exemplo n.º 2
0
        public static HashSet <string> GetModulesFromICalls(string icallsListFile)
        {
            var icalls = File.ReadAllLines(icallsListFile);
            var result = new HashSet <string>();

            foreach (var icall in icalls)
            {
                var module = ModuleMetadata.GetICallModule(icall);
                if (!string.IsNullOrEmpty(module))
                {
                    result.Add(module);
                }
            }
            return(result);
        }
Exemplo n.º 3
0
        public static HashSet <string> GetModulesFromICalls(string icallsListFile)
        {
            string[]         array   = File.ReadAllLines(icallsListFile);
            HashSet <string> hashSet = new HashSet <string>();

            string[] array2 = array;
            for (int i = 0; i < array2.Length; i++)
            {
                string icall       = array2[i];
                string iCallModule = ModuleMetadata.GetICallModule(icall);
                if (!string.IsNullOrEmpty(iCallModule))
                {
                    hashSet.Add(iCallModule);
                }
            }
            return(hashSet);
        }