Package soot.jimple.infoflow.android
Class InfoflowAndroidConfiguration.SourceSinkConfiguration
java.lang.Object
soot.jimple.infoflow.InfoflowConfiguration.SourceSinkConfiguration
soot.jimple.infoflow.android.InfoflowAndroidConfiguration.SourceSinkConfiguration
- Enclosing class:
- InfoflowAndroidConfiguration
public static class InfoflowAndroidConfiguration.SourceSinkConfiguration
extends InfoflowConfiguration.SourceSinkConfiguration
The configuration for the source and sink manager
- Author:
- Steven Arzt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSinkCategory(CategoryDefinition category, InfoflowConfiguration.CategoryMode mode) Adds a sink category definition to this configurationvoidaddSourceCategory(CategoryDefinition category, InfoflowConfiguration.CategoryMode mode) Adds a source category definition to this configurationbooleanGets the explicitly-configured sink categoriesGets all sink categories defined in the configuration together with their respective modes (included or excluded)Gets the explicitly-configured source categoriesGets all source categories defined in the configuration together with their respective modes (included or excluded)inthashCode()voidMethods inherited from class soot.jimple.infoflow.InfoflowConfiguration.SourceSinkConfiguration
getCallbackSourceMode, getEnableLifecycleSources, getLayoutMatchingMode, getSinkFilterMode, getSourceFilterMode, merge, setCallbackSourceMode, setEnableLifecycleSources, setLayoutMatchingMode, setSinkFilterMode, setSourceFilterMode
-
Constructor Details
-
SourceSinkConfiguration
public SourceSinkConfiguration()
-
-
Method Details
-
merge
-
getSourceCategories
Gets the explicitly-configured source categories- Returns:
- The set of source categories for which an explicit configuration has been specified
-
getSinkCategories
Gets the explicitly-configured sink categories- Returns:
- The set of sink categories for which an explicit configuration has been specified
-
getSourceCategoriesAndModes
Gets all source categories defined in the configuration together with their respective modes (included or excluded)- Returns:
- The source categories defined in the configuration along with their respective modes
-
getSinkCategoriesAndModes
Gets all sink categories defined in the configuration together with their respective modes (included or excluded)- Returns:
- The sink categories defined in the configuration along with their respective modes
-
addSourceCategory
Adds a source category definition to this configuration- Parameters:
category- The category definitionmode- The mode that defines whether this category shall be included or excluded
-
addSinkCategory
Adds a sink category definition to this configuration- Parameters:
category- The category definitionmode- The mode that defines whether this category shall be included or excluded
-
hashCode
public int hashCode()- Overrides:
hashCodein classInfoflowConfiguration.SourceSinkConfiguration
-
equals
- Overrides:
equalsin classInfoflowConfiguration.SourceSinkConfiguration
-