public abstract class AbstractTaintWrapper extends Object implements ITaintPropagationWrapper
| 限定符和类型 | 字段和说明 |
|---|---|
protected InfoflowManager |
manager
Data flow manager that gives access to internal solver objects
|
| 构造器和说明 |
|---|
AbstractTaintWrapper() |
| 限定符和类型 | 方法和说明 |
|---|---|
Set<Abstraction> |
getTaintsForMethod(soot.jimple.Stmt stmt,
Abstraction d1,
Abstraction taintedPath)
Checks an invocation statement for black-box taint propagation.
|
abstract Set<AccessPath> |
getTaintsForMethodInternal(soot.jimple.Stmt stmt,
AccessPath taintedPath)
Checks an invocation statement for black-box taint propagation.
|
int |
getWrapperHits()
Gets the number of times in which the taint wrapper was able to
exclusively model a method call.
|
int |
getWrapperMisses()
Gets the number of times in which the taint wrapper was NOT able to
exclusively model a method call.
|
void |
initialize(InfoflowManager manager)
This method is called before the taint propagation is started to give the taint wrapper
the chance to initialize required components once Soot is running, but before it is
queried for the first time.
|
boolean |
isExclusive(soot.jimple.Stmt stmt,
Abstraction taintedPath)
Gets whether the taints produced by this taint wrapper are exclusive, i.e. there are
no other taints than those produced by the wrapper.
|
protected abstract boolean |
isExclusiveInternal(soot.jimple.Stmt stmt,
AccessPath taintedPath)
Gets whether the taints produced by this taint wrapper are exclusive, i.e. there are
no other taints than those produced by the wrapper.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAliasesForMethod, supportsCallee, supportsCalleeprotected InfoflowManager manager
public void initialize(InfoflowManager manager)
ITaintPropagationWrapperinitialize 在接口中 ITaintPropagationWrappermanager - The manager object providing access to the data flow solver processing
the IFDS edges and the interprocedural control flow graphprotected abstract boolean isExclusiveInternal(soot.jimple.Stmt stmt,
AccessPath taintedPath)
stmt - The call statement to checktaintedPath - The tainted field or value to propagatepublic abstract Set<AccessPath> getTaintsForMethodInternal(soot.jimple.Stmt stmt, AccessPath taintedPath)
stmt - The invocation statement which to check for black-box taint propagationtaintedPath - The tainted field or value to propagateStmt
has been executedpublic boolean isExclusive(soot.jimple.Stmt stmt,
Abstraction taintedPath)
ITaintPropagationWrapperisExclusive 在接口中 ITaintPropagationWrapperstmt - The call statement to checktaintedPath - The tainted field or value to propagatepublic Set<Abstraction> getTaintsForMethod(soot.jimple.Stmt stmt, Abstraction d1, Abstraction taintedPath)
ITaintPropagationWrappergetTaintsForMethod 在接口中 ITaintPropagationWrapperstmt - The invocation statement which to check for black-box taint propagationd1 - The abstraction at the beginning of the method that calls the
wrapped methodtaintedPath - The tainted field or value to propagateStmt
has been executedpublic int getWrapperHits()
ITaintPropagationWrappergetWrapperHits 在接口中 ITaintPropagationWrapperpublic int getWrapperMisses()
ITaintPropagationWrappergetWrapperMisses 在接口中 ITaintPropagationWrapperCopyright © 2022 Fraunhofer SIT. All rights reserved.