Package soot.jimple.infoflow.android
Class InfoflowAndroidConfiguration.AnalysisFileConfiguration
java.lang.Object
soot.jimple.infoflow.android.InfoflowAndroidConfiguration.AnalysisFileConfiguration
- Enclosing class:
- InfoflowAndroidConfiguration
The configuration for the various files required for the data flow analysis
- Author:
- Steven Arzt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the additional libraries that are required on the analysis classpath.Gets the directory in which the Android platform JARs are locatedGets the file into which the results of the data flow analysis shall be writtenGets the source and sink fileGets the target APK file on which the data flow analysis shall be conductedinthashCode()voidCopies the settings of the given configuration into this configuration objectvoidsetAdditionalClasspath(String additionalClasspath) Gets the additional libraries that are required on the analysis classpath.voidsetAndroidPlatformDir(File androidPlatformDir) Sets the directory in which the Android platform JARs are locatedvoidsetOutputFile(String outputFile) Sets the file into which the results of the data flow analysis shall be writtenvoidsetSourceSinkFile(File sourceSinkFile) Sets the source and sink filevoidsetTargetAPKFile(File targetAPKFile) Sets the target APK file on which the data flow analysis shall be conductedbooleanvalidate()Checks whether this configuration is valid, i.e., whether there are no inconsistencies and all necessary data is filled in
-
Constructor Details
-
AnalysisFileConfiguration
public AnalysisFileConfiguration()
-
-
Method Details
-
merge
Copies the settings of the given configuration into this configuration object- Parameters:
fileConfig- The other configuration object
-
validate
public boolean validate()Checks whether this configuration is valid, i.e., whether there are no inconsistencies and all necessary data is filled in- Returns:
- True if this configuration is complete and valid, otherwise false
-
getTargetAPKFile
Gets the target APK file on which the data flow analysis shall be conducted- Returns:
- The target APK file on which the data flow analysis shall be conducted
-
setTargetAPKFile
Sets the target APK file on which the data flow analysis shall be conducted- Parameters:
targetAPKFile- The target APK file on which the data flow analysis shall be conducted
-
getAndroidPlatformDir
Gets the directory in which the Android platform JARs are located- Returns:
- The directory in which the Android platform JARs are located
-
setAndroidPlatformDir
Sets the directory in which the Android platform JARs are located- Parameters:
androidPlatformDir- The directory in which the Android platform JARs are located
-
getSourceSinkFile
Gets the source and sink file- Returns:
- The source and sink file
-
setSourceSinkFile
Sets the source and sink file- Parameters:
sourceSinkFile- The source and sink file
-
getAdditionalClasspath
Gets the additional libraries that are required on the analysis classpath. FlowDroid will automatically include the target APK file and the Android platform JAR file, these need not be specified separately.- Returns:
- The additional libraries that are required on the analysis classpath
-
setAdditionalClasspath
Gets the additional libraries that are required on the analysis classpath. FlowDroid will automatically include the target APK file and the Android platform JAR file, these need not be specified separately.- Parameters:
additionalClasspath- The additional libraries that are required on the analysis classpath
-
getOutputFile
Gets the file into which the results of the data flow analysis shall be written- Returns:
- The target file into which the results of the data flow analysis shall be written
-
setOutputFile
Sets the file into which the results of the data flow analysis shall be written- Parameters:
outputFile- The target file into which the results of the data flow analysis shall be written
-
hashCode
public int hashCode() -
equals
-