Package soot.jimple.infoflow.river
Class SecondarySinkDefinition
java.lang.Object
soot.jimple.infoflow.sourcesSinks.definitions.AbstractSourceSinkDefinition
soot.jimple.infoflow.river.SecondarySinkDefinition
- All Implemented Interfaces:
ISourceSinkDefinition
Special source/sink definition for statements that are sinks merely because
we need the respective flow to activate another flow. In case something is
written to an output stream, we need a flow to know whether the output stream
is interesting, i.e., whether to keep or discard this main flow. This class
is used to model sinks for such secondary flows.
- Author:
- Steven Arzt
-
Field Summary
FieldsFields inherited from class soot.jimple.infoflow.sourcesSinks.definitions.AbstractSourceSinkDefinition
category, conditions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a definition which is a subset of this definition that only contains the sinksCreates a definition which is a subset of this definition that only contains the sourcesbooleanisEmpty()Indicates if the definition contains any sources or sinksMethods inherited from class soot.jimple.infoflow.sourcesSinks.definitions.AbstractSourceSinkDefinition
equals, getCategory, getConditions, hashCode, setCategory, setConditions
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
SecondarySinkDefinition
public SecondarySinkDefinition()
-
-
Method Details
-
getSourceOnlyDefinition
Description copied from interface:ISourceSinkDefinitionCreates a definition which is a subset of this definition that only contains the sources- Returns:
- The source-only subset of this definition
-
getSinkOnlyDefinition
Description copied from interface:ISourceSinkDefinitionCreates a definition which is a subset of this definition that only contains the sinks- Returns:
- The sink-only subset of this definition
-
isEmpty
public boolean isEmpty()Description copied from interface:ISourceSinkDefinitionIndicates if the definition contains any sources or sinks- Returns:
- The boolean if this definition is empty
-