public class SourceContextAndPath extends SourceContext implements Cloneable
SourceContext that also allows a paths from the source
to the current statement to be stored| 限定符和类型 | 字段和说明 |
|---|---|
protected ExtensibleList<soot.jimple.Stmt> |
callStack |
protected int |
neighborCounter |
protected ExtensibleList<Abstraction> |
path |
accessPath, definition, stmt, userData| 构造器和说明 |
|---|
SourceContextAndPath(ISourceSinkDefinition definition,
AccessPath value,
soot.jimple.Stmt stmt) |
SourceContextAndPath(ISourceSinkDefinition definition,
AccessPath value,
soot.jimple.Stmt stmt,
Object userData) |
| 限定符和类型 | 方法和说明 |
|---|---|
SourceContextAndPath |
clone() |
boolean |
equals(Object other) |
SourceContextAndPath |
extendPath(Abstraction abs)
Extends the taint propagation path with the given abstraction
|
SourceContextAndPath |
extendPath(Abstraction abs,
InfoflowConfiguration.PathConfiguration pathConfig)
Extends the taint propagation path with the given abstraction
|
List<Abstraction> |
getAbstractionPath() |
int |
getNeighborCounter() |
List<soot.jimple.Stmt> |
getPath() |
int |
hashCode() |
boolean |
isCallStackEmpty()
Gets whether the current call stack is empty, i.e., the path is in the method
from which it originated
|
heros.solver.Pair<SourceContextAndPath,soot.jimple.Stmt> |
popTopCallStackItem()
Pops the top item off the call stack.
|
void |
setNeighborCounter(int counter) |
String |
toString() |
getAccessPath, getDefinition, getStmt, getUserDataprotected ExtensibleList<Abstraction> path
protected ExtensibleList<soot.jimple.Stmt> callStack
protected int neighborCounter
public SourceContextAndPath(ISourceSinkDefinition definition, AccessPath value, soot.jimple.Stmt stmt)
public SourceContextAndPath(ISourceSinkDefinition definition, AccessPath value, soot.jimple.Stmt stmt, Object userData)
public List<soot.jimple.Stmt> getPath()
public List<Abstraction> getAbstractionPath()
public SourceContextAndPath extendPath(Abstraction abs)
abs - The abstraction to put on the taint propagation pathpublic SourceContextAndPath extendPath(Abstraction abs, InfoflowConfiguration.PathConfiguration pathConfig)
abs - The abstraction to put on the taint propagation pathpathConfig - The configuration for constructing taint propagation pathspublic heros.solver.Pair<SourceContextAndPath,soot.jimple.Stmt> popTopCallStackItem()
SourceContextAndPath object as the first element of
the pair and the call stack item that was popped off as the second
element. If there is no call stack, null is returned.public boolean isCallStackEmpty()
public void setNeighborCounter(int counter)
public int getNeighborCounter()
public boolean equals(Object other)
equals 在类中 SourceContextpublic int hashCode()
hashCode 在类中 SourceContextpublic SourceContextAndPath clone()
clone 在类中 SourceContextpublic String toString()
toString 在类中 SourceContextCopyright © 2022 Fraunhofer SIT. All rights reserved.