Exemplo n.º 1
0
 //'O2 Cmd FindingsFilter' - Small tool to filter findings"
 public static void welcome()
 {
     log.write("\n\n\n           Welcome to " + O2CmdName);
     log.write("                                  http://www.o2-ounceopen.com  ");
     log.write("                                       " + O2CmdPublishedDate);
     log.write("  \n\n\n");
 }
Exemplo n.º 2
0
        public void showAssemblyDependencies()
        {
            var assemblyToProcess = @"E:\O2\_Bin_(O2_Binaries)\_O2_Scanner_DotNet.exe";
            var dependencies      = CecilAssemblyDependencies.getListOfDependenciesForAssemblies(new List <string>()
            {
                assemblyToProcess
            });

            // DC: weird but in one of my dev boxes the code below doesn't compile :(
            //var dependencies2 = CecilAssemblyDependencies.getListOfDependenciesForAssembly(assemblyToProcess);
            foreach (var dependency in dependencies)
            {
                log.write(@"//O2Tag_AddReferenceFile:{0}", dependency);
            }
        }