コード例 #1
0
        public Program()
        {
            AnalyzerFactory analyzerFactory = new AnalyzerFactory
            {
                VulnerabilityDiscovered = OnVulnerabilityDiscovered
            };

            ScannerFactory = new ScannerFactory
            {
                CsAnalyzers = analyzerFactory.GetCsAnalyzers(),
                AndroidManifestAnalyzers = analyzerFactory.GetAndroidManifestAnalyzers(),
                TextAnalyzers            = analyzerFactory.GetTextAnalyzers()
            };

            EnvironmentWrapper = new EnvironmentWrapper();
        }