Package de.uzl.its.swat
Class Main
java.lang.Object
de.uzl.its.swat.Main
Main runtime environment for parsing inputs and writing state files. Holds functions that are
added during instrumentation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckSink(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, String identifier, String sink) Stub function, call is added during instrumentationstatic voidcheckSink(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, String identifier, String sink) Stub function, call is added during instrumentationstatic voidStub function, call is added during instrumentationstatic voidStub function, call is added during instrumentationstatic voidStub function, call is added during instrumentationstatic voidStub function, call is added during instrumentationstatic voidTemporarily disables logging, e.g.static voidRe-enable the logger, e.g.static voidInitializes symbolic or coverage only tracking for the current execution.static booleanMakeSymbolic(boolean boolValue) A stub function for symbolic value creation.static booleanMakeSymbolic(boolean boolValue, long idx) A stub function for symbolic value creation.static booleanMakeSymbolic(boolean boolValue, String namePrefix) A stub function for symbolic value creation.static byteMakeSymbolic(byte byteValue) A stub function for symbolic value creation.static byteMakeSymbolic(byte byteValue, long idx) A stub function for symbolic value creation.static byteMakeSymbolic(byte byteValue, String namePrefix) A stub function for symbolic value creation.static charMakeSymbolic(char charValue) A stub function for symbolic value creation.static charMakeSymbolic(char charValue, long idx) A stub function for symbolic value creation.static charMakeSymbolic(char charValue, String namePrefix) A stub function for symbolic value creation.static doubleMakeSymbolic(double doubleValue) A stub function for symbolic value creation.static doubleMakeSymbolic(double doubleValue, long idx) A stub function for symbolic value creation.static doubleMakeSymbolic(double doubleValue, String namePrefix) A stub function for symbolic value creation.static floatMakeSymbolic(float floatValue) A stub function for symbolic value creation.static floatMakeSymbolic(float floatValue, long idx) A stub function for symbolic value creation.static floatMakeSymbolic(float floatValue, String namePrefix) A stub function for symbolic value creation.static intMakeSymbolic(int intValue) A stub function for symbolic value creation.static intMakeSymbolic(int intValue, long idx) A stub function for symbolic value creation.static intMakeSymbolic(int intValue, String namePrefix) A stub function for symbolic value creation.static longMakeSymbolic(long longValue) A stub function for symbolic value creation.static longMakeSymbolic(long longValue, long idx) A stub function for symbolic value creation.static longMakeSymbolic(long longValue, String namePrefix) A stub function for symbolic value creation.static shortMakeSymbolic(short shortValue) A stub function for symbolic value creation.static shortMakeSymbolic(short shortValue, long idx) A stub function for symbolic value creation.static shortMakeSymbolic(short shortValue, String namePrefix) A stub function for symbolic value creation.static LongMakeSymbolic(Long longValue) A stub function for symbolic value creation.static LongMakeSymbolic(Long longValue, long idx) A stub function for symbolic value creation.static LongMakeSymbolic(Long longValue, String namePrefix) A stub function for symbolic value creation.static StringMakeSymbolic(String stringValue) A stub function for symbolic value creation.static StringMakeSymbolic(String stringValue, long idx) A stub function for symbolic value creation.static StringMakeSymbolic(String stringValue, String namePrefix) A stub function for symbolic value creation.static voidFinishes symbolic tracking and initializes constrain transfer to coordinator.
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
disableSymbolicTracking
public static void disableSymbolicTracking()Temporarily disables logging, e.g. while loading a class.Should be enabled again with `reEnableLog()`
-
enableSymbolicTracking
public static void enableSymbolicTracking()Re-enable the logger, e.g. after a class has been loaded. Before re-enabling `temporaryDisableLog` has to be called. -
init
Initializes symbolic or coverage only tracking for the current execution. The method call is added during instrumentation- Parameters:
endpoint- The name of the endpoint.
-
terminate
public static void terminate()Finishes symbolic tracking and initializes constrain transfer to coordinator. Method call added during instrumentation. -
MakeSymbolic
public static int MakeSymbolic(int intValue) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
intValue- The concrete value to be considered for symbolic analysis.- Returns:
- The original long value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
public static long MakeSymbolic(long longValue) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
longValue- The concrete long value to be considered for symbolic analysis.- Returns:
- The original long value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
public static char MakeSymbolic(char charValue) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
charValue- The concrete value to be considered for symbolic analysis.- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
public static byte MakeSymbolic(byte byteValue) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
byteValue- The concrete value to be considered for symbolic analysis.- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
public static short MakeSymbolic(short shortValue) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
shortValue- The concrete value to be considered for symbolic analysis.- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
public static boolean MakeSymbolic(boolean boolValue) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
boolValue- The concrete value to be considered for symbolic analysis.- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
stringValue- The concrete value to be considered for symbolic analysis.- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
public static float MakeSymbolic(float floatValue) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
floatValue- The concrete value to be considered for symbolic analysis.- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
public static double MakeSymbolic(double doubleValue) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
doubleValue- The concrete value to be considered for symbolic analysis.- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
longValue- The concrete value to be considered for symbolic analysis.- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
intValue- The concrete value to be considered for symbolic analysis.namePrefix- The symbolic identifier of the variable- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
longValue- The concrete value to be considered for symbolic analysis.namePrefix- The symbolic identifier of the variable- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
charValue- The concrete value to be considered for symbolic analysis.namePrefix- The symbolic identifier of the variable- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
byteValue- The concrete value to be considered for symbolic analysis.namePrefix- The symbolic identifier of the variable- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
shortValue- The concrete value to be considered for symbolic analysis.namePrefix- The symbolic identifier of the variable- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
boolValue- The concrete value to be considered for symbolic analysis.namePrefix- The symbolic identifier of the variable- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
stringValue- The concrete value to be considered for symbolic analysis.namePrefix- The symbolic identifier of the variable- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
floatValue- The concrete value to be considered for symbolic analysis.namePrefix- The symbolic identifier of the variable- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
doubleValue- The concrete value to be considered for symbolic analysis.namePrefix- The symbolic identifier of the variable- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
longValue- The concrete value to be considered for symbolic analysis.namePrefix- The symbolic identifier of the variable- Returns:
- The original value, with instrumentation logic potentially applied during runtime.
-
MakeSymbolic
public static int MakeSymbolic(int intValue, long idx) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
intValue- The concrete valueidx- The index of the variable
-
MakeSymbolic
public static long MakeSymbolic(long longValue, long idx) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
longValue- The concrete valueidx- The index of the variable
-
MakeSymbolic
public static char MakeSymbolic(char charValue, long idx) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
charValue- The concrete valueidx- The index of the variable
-
MakeSymbolic
public static byte MakeSymbolic(byte byteValue, long idx) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
byteValue- The concrete valueidx- The index of the variable
-
MakeSymbolic
public static short MakeSymbolic(short shortValue, long idx) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
shortValue- The concrete valueidx- The index of the variable
-
MakeSymbolic
public static boolean MakeSymbolic(boolean boolValue, long idx) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
boolValue- The concrete valueidx- The index of the variable
-
MakeSymbolic
A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
stringValue- The concrete valueidx- The index of the variable
-
MakeSymbolic
public static float MakeSymbolic(float floatValue, long idx) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
floatValue- The concrete valueidx- The index of the variable
-
MakeSymbolic
public static double MakeSymbolic(double doubleValue, long idx) A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
doubleValue- The concrete valueidx- The index of the variable
-
MakeSymbolic
A stub function for symbolic value creation. This method is intended to be instrumented during runtime. The actual symbolic processing is performed elsewhere.- Parameters:
longValue- The concrete valueidx- The index of the variable
-
checkSink
Stub function, call is added during instrumentation- Parameters:
arg- The value (argument) to checkidentifier- The type identifier of the argsink- The identifier of the sink
-
checkSink
Stub function, call is added during instrumentation- Parameters:
arg1- The first value (argument) to checkarg2- The second value (argument) to checkidentifier- The type identifier of the arguments (arg1, arg2)sink- The identifier of the sink
-
checkSink
Stub function, call is added during instrumentation- Parameters:
arg1- The first value (argument) to checkarg2- The second value (argument) to checkarg3- The third value (argument) to checkidentifier- The type identifier of the arguments (arg1, arg2, arg3)sink- The identifier of the sink
-
checkSink
public static void checkSink(Object arg1, Object arg2, Object arg3, Object arg4, String identifier, String sink) Stub function, call is added during instrumentation- Parameters:
arg1- The first value (argument) to checkarg2- The second value (argument) to checkarg3- The third value (argument) to checkarg4- The fourth value (argument) to checkidentifier- The type identifier of the arguments (arg1, arg2, arg3, arg4)sink- The identifier of the sink
-
checkSink
public static void checkSink(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, String identifier, String sink) Stub function, call is added during instrumentation- Parameters:
arg1- The first value (argument) to checkarg2- The second value (argument) to checkarg3- The third value (argument) to checkarg4- The fourth value (argument) to checkarg5- The fifth value (argument) to checkidentifier- The type identifier of the arguments (arg1, arg2, arg3, arg4, arg5)sink- The identifier of the sink
-
checkSink
public static void checkSink(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, String identifier, String sink) Stub function, call is added during instrumentation- Parameters:
arg1- The first value (argument) to checkarg2- The second value (argument) to checkarg3- The third value (argument) to checkarg4- The fourth value (argument) to checkarg5- The fifth value (argument) to checkarg6- The sixth value (argument) to checkidentifier- The type identifier of the arguments (arg1, arg2, arg3, arg4, arg5, arg6)sink- The identifier of the sink
-