Class InfoflowAndroidConfiguration

java.lang.Object
soot.jimple.infoflow.InfoflowConfiguration
soot.jimple.infoflow.android.InfoflowAndroidConfiguration

public class InfoflowAndroidConfiguration extends InfoflowConfiguration
Configuration class for the Android-specific data flow analysis
Author:
Steven Arzt
  • Constructor Details

    • InfoflowAndroidConfiguration

      public InfoflowAndroidConfiguration()
  • Method Details

    • merge

      public void merge(InfoflowConfiguration config)
      Overrides:
      merge in class InfoflowConfiguration
    • getCallbackConfig

      Gets the configuration that defines how callbacks shall be handled
      Returns:
      The configuration of the callback analyzer
    • getSourceSinkConfig

      Gets the configuration of the source/sink manager
      Overrides:
      getSourceSinkConfig in class InfoflowConfiguration
      Returns:
      The configuration of the source/sink manager
    • getIccConfig

      Gets the configuration for the inter-component data flow analysis
      Returns:
      The configuration for the inter-component data flow analysis
    • getAnalysisFileConfig

      Gets the configuration for the input files (target APK, Android platform directory, etc.)
      Returns:
      The input file configuration
    • setOneComponentAtATime

      public void setOneComponentAtATime(boolean oneComponentAtATime)
      Sets whether FlowDroid shall analyze one component at a time instead of generating one big dummy main method containing all components
      Parameters:
      oneComponentAtATime - True if FlowDroid shall analyze one component at a time, otherwise false
    • getOneComponentAtATime

      public boolean getOneComponentAtATime()
      Gets whether FlowDroid shall analyze one component at a time instead of generating one biug dummy main method containing all components
      Returns:
      True if FlowDroid shall analyze one component at a time, otherwise false
    • getMergeDexFiles

      public boolean getMergeDexFiles()
      Gets whether FlowDroid shall merge all dex files in the APK to get a full picture of the app
      Returns:
      True if FlowDroid shall merge all dex files in the APK, otherwise false
    • setMergeDexFiles

      public void setMergeDexFiles(boolean mergeDexFiles)
      Sets whether FlowDroid shall merge all dex files in the APK to get a full picture of the app
      Parameters:
      mergeDexFiles - True if FlowDroid shall merge all dex files in the APK, otherwise false
    • getCreateActivityEntryMethods

      public static boolean getCreateActivityEntryMethods()
      Gets if Flowdroid should create new Methods when creating the Activity Entry point
      Returns:
      true/false
    • setCreateActivityEntryMethods

      public static void setCreateActivityEntryMethods(boolean createActivityEntryMethods)
      Sets if Flow Flowdroid should create new Methods when creating the Activity Entry point
      Parameters:
      createActivityEntryMethods - boolean that is true if Methods should be created
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class InfoflowConfiguration
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class InfoflowConfiguration
    • getPerformConstantPropagation

      public boolean getPerformConstantPropagation()
      Returns whether FlowDroid should perform a simple constant propagation prior to the data flow analysis.
      Returns:
      whether to perform constant propagation
    • setPerformConstantPropagation

      public void setPerformConstantPropagation(boolean value)
      Sets whether FlowDroid should perform a simple constant propagation prior to the data flow analysis.
      Parameters:
      value - true if constants should be propagated