Package de.uzl.its.swat.config
Class Config
java.lang.Object
de.uzl.its.swat.config.Config
The Config class is responsible for reading the configuration file and providing the application
with the configuration options. It is a singleton class, and the instance should be fetched using
the static
instance()
method.-
Method Summary
Modifier and TypeMethodDescriptionHost name of the symbolic explorer.int
Port number of the symbolic explorer.URI where the symbolic explorer receives trace information.Fully qualified name of the class that receives instruction information from the concrete execution.String[]
Packages to be excluded from instrumentation.String[]
Packages to be instrumented.Fully qualified class name that should be tracked symbolically.Method name that should be tracked symbolically.Custom function name for analysis.Type of transformer to be used.Directory to store logs and instrumented .class files.int
Length to print symbolic formula.org.slf4j.event.Level
Sets the logging level.Determines solver mode should be used.static Config
instance()
Instance method.boolean
Flag to determine if the application should exit on errors.boolean
Flag to enable or disable instruction IDs.boolean
Flag to determine if instrumented classes should be written out.boolean
Flag for enabling debug mode.boolean
Flag for enabling invocation logging.boolean
Determines if Verifier randomness is enabled.
-
Method Details
-
instance
Instance method. Should be used to obtain config object- Returns:
- The config instance.
-
getExplorerHost
Host name of the symbolic explorer. -
getExplorerPort
public int getExplorerPort()Port number of the symbolic explorer. -
getExplorerTraceURI
URI where the symbolic explorer receives trace information. -
getLoggingDirectory
Directory to store logs and instrumented .class files. -
getLoggingLevel
public org.slf4j.event.Level getLoggingLevel()Sets the logging level. Default: "Level.INFO" -
isLoggingClasses
public boolean isLoggingClasses()Flag to determine if instrumented classes should be written out. -
isLoggingDebug
public boolean isLoggingDebug()Flag for enabling debug mode. -
isLoggingInvocations
public boolean isLoggingInvocations()Flag for enabling invocation logging. -
getLoggingFormulaLength
public int getLoggingFormulaLength()Length to print symbolic formula. -
getInstrumentationDispatcher
Fully qualified name of the class that receives instruction information from the concrete execution. -
getInstrumentationPrefix
Custom function name for analysis. -
getInstrumentationIncludePackages
Packages to be instrumented. -
getInstrumentationExcludePackages
Packages to be excluded from instrumentation. -
getInstrumentationParameterSymbolicClassName
Fully qualified class name that should be tracked symbolically. Supports basic regex. -
getInstrumentationParameterSymbolicMethodName
Method name that should be tracked symbolically. Supports basic regex. -
isInstrumentationInstructionIds
public boolean isInstrumentationInstructionIds()Flag to enable or disable instruction IDs. No default value, as it is derived from the loggingDebug option. -
getInstrumentationTransformer
Type of transformer to be used. -
getSolverMode
Determines solver mode should be used. -
isExitOnError
public boolean isExitOnError()Flag to determine if the application should exit on errors. -
isSvcompRandomInputs
public boolean isSvcompRandomInputs()Determines if Verifier randomness is enabled.
-