public class TaintPropagationResults extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
TaintPropagationResults.OnTaintPropagationResultAdded
Handler interface that is invoked when new taint propagation results are
added to the result object
|
| Modifier and Type | Field and Description |
|---|---|
protected InfoflowManager |
manager |
protected Set<TaintPropagationResults.OnTaintPropagationResultAdded> |
resultAddedHandlers |
protected MyConcurrentHashMap<AbstractionAtSink,Abstraction> |
results |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addResult(AbstractionAtSink resultAbs)
Adds a new result of the data flow analysis to the collection
|
void |
addResultAvailableHandler(TaintPropagationResults.OnTaintPropagationResultAdded handler)
Adds a new handler that is invoked when a new data flow result is added to
this data object
|
boolean |
equals(Object obj) |
Set<AbstractionAtSink> |
getResults()
Gets all results collected in this data object
|
int |
hashCode() |
boolean |
isEmpty()
Checks whether this result object is empty
|
int |
size()
Gets the number of taint abstractions in this result object
|
String |
toString() |
protected final InfoflowManager manager
protected final MyConcurrentHashMap<AbstractionAtSink,Abstraction> results
protected final Set<TaintPropagationResults.OnTaintPropagationResultAdded> resultAddedHandlers
public boolean addResult(AbstractionAtSink resultAbs)
resultAbs - The abstraction at the sink instructionpublic boolean isEmpty()
public Set<AbstractionAtSink> getResults()
public void addResultAvailableHandler(TaintPropagationResults.OnTaintPropagationResultAdded handler)
handler - The handler implementation to addpublic int size()
Copyright © 2021 Fraunhofer SIT. All rights reserved.