Package soot.jimple.infoflow
Class InfoflowConfiguration.OutputConfiguration
java.lang.Object
soot.jimple.infoflow.InfoflowConfiguration.OutputConfiguration
- Enclosing class:
- InfoflowConfiguration
Class that defines settings for writing out the FlowDroid results
- Author:
- Steven Arzt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintGets 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.booleanGets whether to exclude the call graph fraction from the entry points to the source in the xml outputbooleanGets whether FlowDroid shall exclude the passed values to sources and sinks from the xml output from the analysislongGets the timeout for the result serialization process in seconds.inthashCode()voidmerge(InfoflowConfiguration.OutputConfiguration outputConfig) Copies the settings of the given configuration into this configuration objectvoidsetMaxCallersInOutputFile(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.voidsetNoCallGraphFraction(boolean noCallGraphFraction) Sets whether to exclude the call graph fraction from the entry points to the source in the xml outputvoidsetNoPassedValues(boolean noPassedValues) Sets the option for exclusion of the passed values to sources and sinks in the xml outputvoidsetResultSerializationTimeout(long timeout) Sets the timeout in seconds for the result serialization process.
-
Constructor Details
-
OutputConfiguration
public OutputConfiguration()
-
-
Method Details
-
merge
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() -
equals
-