public class XssServletDetector extends BasicInjectionDetector
injectionSinksbugReporter| Constructor and Description |
|---|
XssServletDetector(edu.umd.cs.findbugs.BugReporter bugReporter) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getPriority(Taint taint)
The default implementation of
getPriority() can be overridden if the severity and the confidence for risk
is particular. |
boolean |
shouldAnalyzeClass(edu.umd.cs.findbugs.ba.ClassContext classContext)
Allow any concrete implementation of taint detector to skip the analysis of certain files.
|
addParsedInjectionPoint, getInjectionPoint, loadConfiguredSinks, loadConfiguredSinks, loadCustomConfigFiles, loadCustomSinks, loadSinkanalyzeLocation, getPriorityFromTaintFrame, reportanalyzeMethod, visitClassContextpublic XssServletDetector(edu.umd.cs.findbugs.BugReporter bugReporter)
protected int getPriority(Taint taint)
AbstractInjectionDetectorgetPriority() can be overridden if the severity and the confidence for risk
is particular.
By default, injection will be rated "High" if the complete link between source and sink is made.
If it is not the case but concatenation with external source is made, "Medium" is used.getPriority in class AbstractInjectionDetectortaint - Detail about the state of the value passed (Cumulative information leading to the variable passed).public boolean shouldAnalyzeClass(edu.umd.cs.findbugs.ba.ClassContext classContext)
AbstractTaintDetectorshouldAnalyzeClass in class AbstractTaintDetectorclassContext - Information about the class that is about to be analyzedCopyright © 2017. All rights reserved.