Exemple #1
0
 public IOFileAnalyzer(IFileReadExpressionAnalyzer fileReadExpressionAnalyzer, IFileWriteExpressionAnalyzer fileWriteExpressionAnalyzer, IFileOpenExpressionAnalyzer fileOpenExpressionAnalyzer, IFileDeleteExpressionAnalyzer fileDeleteExpressionAnalyzer)
 {
     _fileReadExpressionAnalyzer   = fileReadExpressionAnalyzer;
     _fileWriteExpressionAnalyzer  = fileWriteExpressionAnalyzer;
     _fileOpenExpressionAnalyzer   = fileOpenExpressionAnalyzer;
     _fileDeleteExpressionAnalyzer = fileDeleteExpressionAnalyzer;
 }
        private IOFileAnalyzer(
            IFileReadExpressionAnalyzer fileReadExpressionAnalyzer,
            IFileWriteExpressionAnalyzer fileWriteExpressionAnalyzer,
            IFileOpenExpressionAnalyzer fileOpenExpressionAnalyzer,
            IFileDeleteExpressionAnalyzer fileDeleteExpressionAnalyzer,
            IInvocationExpressionVulnerableSyntaxNodeFactory vulnerableSyntaxNodeFactory)

        {
            _fileReadExpressionAnalyzer   = fileReadExpressionAnalyzer;
            _fileWriteExpressionAnalyzer  = fileWriteExpressionAnalyzer;
            _fileOpenExpressionAnalyzer   = fileOpenExpressionAnalyzer;
            _fileDeleteExpressionAnalyzer = fileDeleteExpressionAnalyzer;
            _vulnerableSyntaxNodeFactory  = vulnerableSyntaxNodeFactory;
        }