| 程序包 | 说明 |
|---|---|
| soot.jimple.infoflow.sourcesSinks.definitions |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ImmutableAccessPathTuple
Immutable version of the
AccessPathTuple |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Set<AccessPathTuple> |
FieldSourceSinkDefinition.accessPaths |
protected Set<AccessPathTuple> |
MethodSourceSinkDefinition.baseObjects |
protected Set<AccessPathTuple> |
MethodSourceSinkDefinition.returnValues |
| 限定符和类型 | 方法和说明 |
|---|---|
static AccessPathTuple |
AccessPathTuple.create(boolean isSource,
boolean isSink)
Simplified factory method for creating an access path that just denotes the
base object
|
static AccessPathTuple |
AccessPathTuple.fromPathElements(List<String> fields,
List<String> fieldTypes,
boolean isSource,
boolean isSink) |
static AccessPathTuple |
AccessPathTuple.fromPathElements(List<String> fields,
List<String> fieldTypes,
SourceSinkType sourceSinkType) |
static AccessPathTuple |
AccessPathTuple.fromPathElements(String[] fields,
String[] fieldTypes,
boolean isSource,
boolean isSink) |
static AccessPathTuple |
AccessPathTuple.fromPathElements(String baseType,
List<String> fields,
List<String> fieldTypes,
SourceSinkType sourceSinkType) |
static AccessPathTuple |
AccessPathTuple.fromPathElements(String baseType,
String[] fields,
String[] fieldTypes,
boolean isSource,
boolean isSink) |
static AccessPathTuple |
AccessPathTuple.fromPathElements(String field,
String fieldType,
SourceSinkType sourceSinkType) |
static AccessPathTuple |
AccessPathTuple.fromPathElements(String baseType,
String field,
String fieldType,
SourceSinkType sourceSinkType) |
static AccessPathTuple |
AccessPathTuple.getBlankSinkTuple()
Gets the shared tuple that denoted just the base object as a sink
|
static AccessPathTuple |
AccessPathTuple.getBlankSourceTuple()
Gets the shared tuple that denoted just the base object as a source
|
AccessPathTuple |
AccessPathTuple.simplify()
Checks whether this tuple is equivalent to one of the simple predefined ones.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Set<AccessPathTuple> |
FieldSourceSinkDefinition.getAccessPaths()
Gets the access paths on the field that have been defined as sources or sinks
|
Set<AccessPathTuple> |
StatementSourceSinkDefinition.getAccessPaths() |
Set<AccessPathTuple> |
IAccessPathBasedSourceSinkDefinition.getAllAccessPaths()
Gets all access paths referenced in this source or sink definition,
regardless of their respective semantics
|
Set<AccessPathTuple> |
FieldSourceSinkDefinition.getAllAccessPaths() |
Set<AccessPathTuple> |
StatementSourceSinkDefinition.getAllAccessPaths() |
Set<AccessPathTuple> |
MethodSourceSinkDefinition.getAllAccessPaths() |
Set<AccessPathTuple> |
MethodSourceSinkDefinition.getBaseObjects()
Gets the source and sink definitions for the base object on which a method of
this class is invoked
|
Set<AccessPathTuple> |
MethodSourceSinkDefinition.getReturnValues()
Gets the source definitions for the return value of the current method
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
MethodSourceSinkDefinition.addParameterDefinition(int paramIdx,
Set<AccessPathTuple> paramDefs)
Adds the given access path tuples to this source/sink definition for the
given parameter index
|
protected FieldSourceSinkDefinition |
FieldSourceSinkDefinition.buildNewDefinition(Set<AccessPathTuple> accessPaths)
Factory method for creating a new field-based source/sink definition based on
the current one.
|
protected MethodSourceSinkDefinition |
MethodSourceSinkDefinition.buildNewDefinition(Set<AccessPathTuple> baseAPTs,
Set<AccessPathTuple>[] paramAPTs,
Set<AccessPathTuple> returnAPTs)
Factory method for creating a new method-based source/sink definition based
on the current one.
|
protected MethodSourceSinkDefinition |
MethodSourceSinkDefinition.buildNewDefinition(Set<AccessPathTuple> baseAPTs,
Set<AccessPathTuple>[] paramAPTs,
Set<AccessPathTuple> returnAPTs)
Factory method for creating a new method-based source/sink definition based
on the current one.
|
protected MethodSourceSinkDefinition |
MethodSourceSinkDefinition.buildNewDefinition(SootMethodAndClass methodAndclass,
Set<AccessPathTuple> filteredBaseObjects,
Set<AccessPathTuple>[] filteredParameters,
Set<AccessPathTuple> filteredReturnValues,
MethodSourceSinkDefinition.CallType callType) |
protected MethodSourceSinkDefinition |
MethodSourceSinkDefinition.buildNewDefinition(SootMethodAndClass methodAndclass,
Set<AccessPathTuple> filteredBaseObjects,
Set<AccessPathTuple>[] filteredParameters,
Set<AccessPathTuple> filteredReturnValues,
MethodSourceSinkDefinition.CallType callType) |
protected StatementSourceSinkDefinition |
StatementSourceSinkDefinition.buildNewDefinition(soot.jimple.Stmt stmt,
soot.Local local,
Set<AccessPathTuple> accessPaths) |
protected FieldSourceSinkDefinition |
FieldSourceSinkDefinition.buildNewDefinition(String fieldSignature,
Set<AccessPathTuple> accessPaths)
Factory method for creating a new field-based source/sink definition based on
the current one.
|
IAccessPathBasedSourceSinkDefinition |
IAccessPathBasedSourceSinkDefinition.filter(Collection<AccessPathTuple> accessPaths)
Filters the source/sink definition to only reference the given access paths
|
IAccessPathBasedSourceSinkDefinition |
FieldSourceSinkDefinition.filter(Collection<AccessPathTuple> toFilter) |
IAccessPathBasedSourceSinkDefinition |
StatementSourceSinkDefinition.filter(Collection<AccessPathTuple> toFilter) |
MethodSourceSinkDefinition |
MethodSourceSinkDefinition.filter(Collection<AccessPathTuple> accessPaths) |
| 构造器和说明 |
|---|
ImmutableAccessPathTuple(AccessPathTuple parent) |
Copyright © 2022 Fraunhofer SIT. All rights reserved.