/// <summary> /// Gets the second phase warnings. /// </summary> /// <returns>Returns the second phase warnings.</returns> private IReadOnlyCollection <AnalysisWarning> getSecondPhaseWarnings() { switch (SecondPhaseType) { case SecondPhaseType.TaintAnalysis: TaintAnalyzer analyzer = secondPhaseAnalysis.getNextPhaseAnalyzer() as TaintAnalyzer; if (analyzer != null) { return(analyzer.analysisTaintWarnings); } break; } List <AnalysisWarning> warnings = new List <AnalysisWarning>(); return(warnings); }
public override void Initialize(AnalysisContext context) { TaintAnalyzer.RegisterExtension(this); }
public WeakPasswordValidatorPropertyAnalyzer() { TaintAnalyzer.RegisterExtension(this); }
public InsecureCookieAnalyzer() { TaintAnalyzer.RegisterExtension(this); }