Class InfoflowConfiguration.OutputConfiguration

java.lang.Object
soot.jimple.infoflow.InfoflowConfiguration.OutputConfiguration
Enclosing class:
InfoflowConfiguration

public static class InfoflowConfiguration.OutputConfiguration extends Object
Class that defines settings for writing out the FlowDroid results
Author:
Steven Arzt
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
    Gets the maximum number of callers that shall be considered per node when writing out the call graph fraction from the entry point to the source.
    boolean
    Gets whether to exclude the call graph fraction from the entry points to the source in the xml output
    boolean
    Gets whether FlowDroid shall exclude the passed values to sources and sinks from the xml output from the analysis
    long
    Gets the timeout for the result serialization process in seconds.
    int
     
    void
    Copies the settings of the given configuration into this configuration object
    void
    setMaxCallersInOutputFile(int maxCallers)
    Specifies the maximum number of callers that shall be considered per node when writing out the call graph fraction from the entry point to the source.
    void
    setNoCallGraphFraction(boolean noCallGraphFraction)
    Sets whether to exclude the call graph fraction from the entry points to the source in the xml output
    void
    setNoPassedValues(boolean noPassedValues)
    Sets the option for exclusion of the passed values to sources and sinks in the xml output
    void
    Sets the timeout in seconds for the result serialization process.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OutputConfiguration

      public OutputConfiguration()
  • Method Details

    • merge

      public void merge(InfoflowConfiguration.OutputConfiguration outputConfig)
      Copies the settings of the given configuration into this configuration object
      Parameters:
      outputConfig - The other configuration object
    • getNoPassedValues

      public boolean getNoPassedValues()
      Gets whether FlowDroid shall exclude the passed values to sources and sinks from the xml output from the analysis
      Returns:
      True if FlowDroid shall exclude the passed values to sources and sinks, otherwise false
    • setNoCallGraphFraction

      public void setNoCallGraphFraction(boolean noCallGraphFraction)
      Sets whether to exclude the call graph fraction from the entry points to the source in the xml output
      Parameters:
      noCallGraphFraction - True if the call graph fraction from the entry points to the source shall be excluded from the xml output
    • getNoCallGraphFraction

      public boolean getNoCallGraphFraction()
      Gets whether to exclude the call graph fraction from the entry points to the source in the xml output
      Returns:
      True if the call graph fraction from the entry points to the source shall be excluded from the xml output
    • setMaxCallersInOutputFile

      public void setMaxCallersInOutputFile(int maxCallers)
      Specifies the maximum number of callers that shall be considered per node when writing out the call graph fraction from the entry point to the source.
      Parameters:
      maxCallers - The maximum number of callers to consider when writing out the call graph fraction between entry point and source
    • getMaxCallersInOutputFile

      public int getMaxCallersInOutputFile()
      Gets the maximum number of callers that shall be considered per node when writing out the call graph fraction from the entry point to the source.
      Returns:
      The maximum number of callers to consider when writing out the call graph fraction between entry point and source
    • setResultSerializationTimeout

      public void setResultSerializationTimeout(long timeout)
      Sets the timeout in seconds for the result serialization process. Writing out the results is aborted if it takes longer than the given amount of time.
      Parameters:
      timeout - The maximum time for writing out the results in seconds
    • getResultSerializationTimeout

      public long getResultSerializationTimeout()
      Gets the timeout for the result serialization process in seconds. Writing out the results is aborted if it takes longer than the given amount of time.
    • setNoPassedValues

      public void setNoPassedValues(boolean noPassedValues)
      Sets the option for exclusion of the passed values to sources and sinks in the xml output
      Parameters:
      noPassedValues - the boolean value whether passed values should be excluded from the xml output
    • hashCode

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

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