public class HardcodePasswordInMapDetector extends BasicInjectionDetector
injectionSinksbugReporter| Constructor and Description |
|---|
HardcodePasswordInMapDetector(edu.umd.cs.findbugs.BugReporter bugReporter) |
| Modifier and Type | Method and Description |
|---|---|
protected InjectionPoint |
getInjectionPoint(org.apache.bcel.generic.InvokeInstruction invoke,
org.apache.bcel.generic.ConstantPoolGen cpg,
org.apache.bcel.generic.InstructionHandle handle) |
protected int |
getPriorityFromTaintFrame(TaintFrame fact,
int offset)
The default implementation of
getPriorityFromTaintFrame() can be overridden if the detector must base its
priority on multiple parameters or special conditions like constant values. |
addParsedInjectionPoint, loadConfiguredSinks, loadConfiguredSinks, loadCustomConfigFiles, loadCustomSinks, loadSinkanalyzeLocation, getPriority, reportanalyzeMethod, shouldAnalyzeClass, visitClassContextpublic HardcodePasswordInMapDetector(edu.umd.cs.findbugs.BugReporter bugReporter)
protected int getPriorityFromTaintFrame(TaintFrame fact, int offset) throws edu.umd.cs.findbugs.ba.DataflowAnalysisException
AbstractInjectionDetectorgetPriorityFromTaintFrame() can be overridden if the detector must base its
priority on multiple parameters or special conditions like constant values.
By default, this method will call the getPriority() method with the parameter taint at the specified offset.getPriorityFromTaintFrame in class AbstractInjectionDetectorfact - The TaintFrame for the inspected instruction call.offset - The offset of the checked parameter.edu.umd.cs.findbugs.ba.DataflowAnalysisException - An exception thrown when the TaintFrame cannot be analyzed.protected InjectionPoint getInjectionPoint(org.apache.bcel.generic.InvokeInstruction invoke, org.apache.bcel.generic.ConstantPoolGen cpg, org.apache.bcel.generic.InstructionHandle handle)
getInjectionPoint in class BasicInjectionDetectorCopyright © 2017. All rights reserved.