DownloadCUTE for C can be downloaded here.Requirementwindows 2000, XP with cygwin or linuxgcc compiler bash shell Installationtar zxvf cute.tar.gzcd cute ./setup also include cute in PATH Micro TutorialA micro tutorial on how to use CUTE can be found here.Usagecutec is the instrumentor plus compiler script for programs under test.cute is the script to concolically test the executable of the instrumented program under test.
usage: cutec program entryfunctionprogram is the name of the program under test. entryfunction is the name of the function to be tested. It should not have any parameters. All inputs to a program must be specified using CUTE_input and CUTE_array_input macros.
usage: cute program -i n [-d depth=0] [-s seed] [-m mode=0] [-r] [-p] [-q]
-i iterations : iterations is the maximum number of times to concolically execute program.
-d depth : Depth of bounded depth-first search. Default is 0, which implies infinite depth.
-s seed : seed used to initialize random number generator if -r option is given.
-m mode : Default is 0.
0 - explore next path in concolic testing.
1 - replay last execution path with no concolic execution.
2 - restart concolic testing.
-r : if -r is specified, then inputs are randomly initialized; else, inputs are set to 0.
Pointers are initialized to NULL in either cases.
-p : Random search strategy is invoked.
-q : if -q is specified, then coverage statistics are recorded during testing.
Cute IncludesOne can include cute.h in a program to use the following four useful macros:
|