Package soot.jimple.infoflow
Class InfoflowConfiguration.SourceSinkConfiguration
java.lang.Object
soot.jimple.infoflow.InfoflowConfiguration.SourceSinkConfiguration
- Enclosing class:
- InfoflowConfiguration
The configuration for the source and sink manager
- Author:
- Steven Arzt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSets under which circumstances the parameters of callback methods shall be treated as sources.booleanGets whether the parameters of lifecycle methods shall be considered as sourcesGets the mode to be used when deciding whether a UI control is a source or notGets the default mode for handling sinks that have not been configured explicitlyGets the default mode for handling sources that have not been configured explicitlyinthashCode()voidCopies the settings of the given configuration into this configuration objectvoidsetCallbackSourceMode(InfoflowConfiguration.CallbackSourceMode callbackSourceMode) Sets under which circumstances the parameters of callback methods shall be treated as sources.voidsetEnableLifecycleSources(boolean enableLifecycleSources) Sets whether the parameters of lifecycle methods shall be considered as sourcesvoidSets the mode to be used when deciding whether a UI control is a source or notvoidsetSinkFilterMode(InfoflowConfiguration.SourceSinkFilterMode sinkFilterMode) Sets the default mode for handling sinks that have not been configured explicitlyvoidsetSourceFilterMode(InfoflowConfiguration.SourceSinkFilterMode sourceFilterMode) Sets the default mode for handling sources that have not been configured explicitly
-
Constructor Details
-
SourceSinkConfiguration
public SourceSinkConfiguration()
-
-
Method Details
-
merge
Copies the settings of the given configuration into this configuration object- Parameters:
ssConfig- The other configuration object
-
setSourceFilterMode
Sets the default mode for handling sources that have not been configured explicitly- Parameters:
sourceFilterMode- The default mode for handling sources that have not been configured explicitly
-
getSinkFilterMode
Gets the default mode for handling sinks that have not been configured explicitly- Returns:
- The default mode for handling sinks that have not been configured explicitly
-
setSinkFilterMode
Sets the default mode for handling sinks that have not been configured explicitly- Parameters:
sinkFilterMode- The default mode for handling sinks that have not been configured explicitly
-
setCallbackSourceMode
Sets under which circumstances the parameters of callback methods shall be treated as sources.- Parameters:
callbackSourceMode- The strategy for deciding whether a certain callback parameter is a data flow source or not
-
getCallbackSourceMode
Sets under which circumstances the parameters of callback methods shall be treated as sources.- Returns:
- The strategy for deciding whether a certain callback parameter is a data flow source or not
-
setEnableLifecycleSources
public void setEnableLifecycleSources(boolean enableLifecycleSources) Sets whether the parameters of lifecycle methods shall be considered as sources- Parameters:
enableLifecycleSources- True if the parameters of lifecycle methods shall be considered as sources, otherwise false
-
getEnableLifecycleSources
public boolean getEnableLifecycleSources()Gets whether the parameters of lifecycle methods shall be considered as sources- Returns:
- True if the parameters of lifecycle methods shall be considered as sources, otherwise false
-
setLayoutMatchingMode
Sets the mode to be used when deciding whether a UI control is a source or not- Parameters:
mode- The mode to be used for classifying UI controls as sources
-
getLayoutMatchingMode
Gets the mode to be used when deciding whether a UI control is a source or not- Returns:
- The mode to be used for classifying UI controls as sources
-
getSourceFilterMode
Gets the default mode for handling sources that have not been configured explicitly- Returns:
- The default mode for handling sources that have not been configured explicitly
-
hashCode
public int hashCode() -
equals
-