public class TaintConfig extends HashMap<String,TaintMethodConfig>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TaintConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(PrintStream output)
Dumps all the summaries for debugging
|
Taint.State |
getClassTaintState(String typeSignature,
Taint.State defaultState) |
TaintMethodConfig |
getMethodConfig(TaintFrame frame,
edu.umd.cs.findbugs.classfile.MethodDescriptor methodDescriptor,
String className,
String methodId) |
TaintMethodConfig |
getSuperMethodConfig(String className,
String methodId) |
TaintClassConfig |
getTaintClassConfig(String typeSignature) |
boolean |
isClassImmutable(String typeSignature) |
boolean |
isClassTaintSafe(String typeSignature) |
void |
load(InputStream input,
boolean checkRewrite)
Loads summaries from stream checking the format
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic void dump(PrintStream output)
output - stream where to output the summariespublic void load(InputStream input, boolean checkRewrite) throws IOException
input - input stream of configured summariescheckRewrite - whether to check duplicit summariesIOException - if cannot read the stream or the format is badIllegalArgumentException - for bad method formatIllegalStateException - if there are duplicit configurationspublic boolean isClassImmutable(String typeSignature)
public boolean isClassTaintSafe(String typeSignature)
public Taint.State getClassTaintState(String typeSignature, Taint.State defaultState)
public TaintClassConfig getTaintClassConfig(String typeSignature)
public TaintMethodConfig getMethodConfig(TaintFrame frame, edu.umd.cs.findbugs.classfile.MethodDescriptor methodDescriptor, String className, String methodId)
public TaintMethodConfig getSuperMethodConfig(String className, String methodId)
Copyright © 2017. All rights reserved.