public interface ITaintPropagationWrapper
| 限定符和类型 | 方法和说明 |
|---|---|
Set<Abstraction> |
getAliasesForMethod(soot.jimple.Stmt stmt,
Abstraction d1,
Abstraction taintedPath)
Gets the aliases that a summarized method generates for the given
abstraction.
|
Set<Abstraction> |
getTaintsForMethod(soot.jimple.Stmt stmt,
Abstraction d1,
Abstraction 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.
|
boolean |
supportsCallee(soot.SootMethod method)
Checks whether this taint wrapper can in general produce artificial taints
for the given callee.
|
boolean |
supportsCallee(soot.jimple.Stmt callSite)
Checks whether this taint wrapper can in general produce artificial taints
for the given call site.
|
void initialize(InfoflowManager manager)
manager - The manager object providing access to the data flow solver processing
the IFDS edges and the interprocedural control flow graphSet<Abstraction> getTaintsForMethod(soot.jimple.Stmt stmt, Abstraction d1, Abstraction taintedPath)
stmt - 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 executedboolean isExclusive(soot.jimple.Stmt stmt,
Abstraction taintedPath)
stmt - The call statement to checktaintedPath - The tainted field or value to propagateSet<Abstraction> getAliasesForMethod(soot.jimple.Stmt stmt, Abstraction d1, Abstraction taintedPath)
stmt - The statement that calls the summarized methodd1 - The abstraction at the entry point of the method that calls the
wrapped methodtaintedPath - The abstraction for which the aliases shall be
computedboolean supportsCallee(soot.SootMethod method)
method - The method to checkboolean supportsCallee(soot.jimple.Stmt callSite)
callSite - The call site to checkint getWrapperHits()
int getWrapperMisses()
Copyright © 2022 Fraunhofer SIT. All rights reserved.