public class SequentialTaintPropagationHandler extends Object implements TaintPropagationHandler
TaintPropagationHandler.FlowFunctionType| 构造器和说明 |
|---|
SequentialTaintPropagationHandler()
Creates a new, empty sequence of taint propagation handlers
|
SequentialTaintPropagationHandler(List<TaintPropagationHandler> handlers)
Creates a sequence of taint propagation handlers from the given list
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addAllHandlers(TaintPropagationHandler[] handlers)
Adds all of the given taint propagation handlers
|
void |
addHandler(TaintPropagationHandler handler)
Adds a new handler to this sequence of handlers
|
List<TaintPropagationHandler> |
getHandlers()
Gets the inner handlers registered with this object
|
void |
notifyFlowIn(soot.Unit stmt,
Abstraction taint,
InfoflowManager manager,
TaintPropagationHandler.FlowFunctionType type)
Handler function that is invoked when a taint is proagated in the data flow
engine
|
Set<Abstraction> |
notifyFlowOut(soot.Unit stmt,
Abstraction d1,
Abstraction incoming,
Set<Abstraction> outgoing,
InfoflowManager manager,
TaintPropagationHandler.FlowFunctionType type)
Handler function that is invoked when a new taint is generated in the data
flow engine
|
public SequentialTaintPropagationHandler()
public SequentialTaintPropagationHandler(List<TaintPropagationHandler> handlers)
handlers - A list of taint propagation handlers to which all calls shall
be relayedpublic void addHandler(TaintPropagationHandler handler)
handler - The handler to add to the sequencepublic List<TaintPropagationHandler> getHandlers()
public void notifyFlowIn(soot.Unit stmt,
Abstraction taint,
InfoflowManager manager,
TaintPropagationHandler.FlowFunctionType type)
TaintPropagationHandlernotifyFlowIn 在接口中 TaintPropagationHandlerstmt - The statement over which the taint is propagatedtaint - The taint being propagatedmanager - The manager object that gives access to the data flow enginetype - The type of data flow edge being processedpublic Set<Abstraction> notifyFlowOut(soot.Unit stmt, Abstraction d1, Abstraction incoming, Set<Abstraction> outgoing, InfoflowManager manager, TaintPropagationHandler.FlowFunctionType type)
TaintPropagationHandlernotifyFlowOut 在接口中 TaintPropagationHandlerstmt - The statement over which the taint is propagatedd1 - The abstraction at the beginning of the current methodincoming - The original abstraction from which the outgoing ones were
computedoutgoing - The set of taints being propagatedmanager - The manager object that gives access to the data flow enginetype - The type of data flow edge being processedpublic void addAllHandlers(TaintPropagationHandler[] handlers)
handlers - The taint propagation handlers to addCopyright © 2022 Fraunhofer SIT. All rights reserved.