Class InfoflowAndroidConfiguration.AnalysisFileConfiguration

java.lang.Object
soot.jimple.infoflow.android.InfoflowAndroidConfiguration.AnalysisFileConfiguration
Enclosing class:
InfoflowAndroidConfiguration

public static class InfoflowAndroidConfiguration.AnalysisFileConfiguration extends Object
The configuration for the various files required for the data flow analysis
Author:
Steven Arzt
  • 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

      public File 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

      public void setTargetAPKFile(File targetAPKFile)
      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

      public File getAndroidPlatformDir()
      Gets the directory in which the Android platform JARs are located
      Returns:
      The directory in which the Android platform JARs are located
    • setAndroidPlatformDir

      public void setAndroidPlatformDir(File androidPlatformDir)
      Sets the directory in which the Android platform JARs are located
      Parameters:
      androidPlatformDir - The directory in which the Android platform JARs are located
    • getSourceSinkFile

      public File getSourceSinkFile()
      Gets the source and sink file
      Returns:
      The source and sink file
    • setSourceSinkFile

      public void setSourceSinkFile(File sourceSinkFile)
      Sets the source and sink file
      Parameters:
      sourceSinkFile - The source and sink file
    • getAdditionalClasspath

      public String 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

      public void setAdditionalClasspath(String additionalClasspath)
      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

      public String 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

      public void setOutputFile(String outputFile)
      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()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object