9 #ifndef CPROVER_GOTO_HARNESS_COMMON_HARNESS_GENERATOR_OPTIONS_H
10 #define CPROVER_GOTO_HARNESS_COMMON_HARNESS_GENERATOR_OPTIONS_H
12 #define COMMON_HARNESS_GENERATOR_MIN_NULL_TREE_DEPTH_OPT "min-null-tree-depth"
13 #define COMMON_HARNESS_GENERATOR_MAX_NONDET_TREE_DEPTH_OPT \
14 "max-nondet-tree-depth"
15 #define COMMON_HARNESS_GENERATOR_MIN_ARRAY_SIZE_OPT "min-array-size"
16 #define COMMON_HARNESS_GENERATOR_MAX_ARRAY_SIZE_OPT "max-array-size"
17 #define COMMON_HARNESS_GENERATOR_FUNCTION_POINTER_CAN_BE_NULL_OPT \
18 "function-pointer-can-be-null"
19 #define COMMON_HARNESS_GENERATOR_HAVOC_MEMBER_OPT "havoc-member"
21 #define COMMON_HARNESS_GENERATOR_OPTIONS \
22 "(" COMMON_HARNESS_GENERATOR_MIN_NULL_TREE_DEPTH_OPT \
24 "(" COMMON_HARNESS_GENERATOR_MAX_NONDET_TREE_DEPTH_OPT \
26 "(" COMMON_HARNESS_GENERATOR_MIN_ARRAY_SIZE_OPT \
28 "(" COMMON_HARNESS_GENERATOR_MAX_ARRAY_SIZE_OPT \
30 "(" COMMON_HARNESS_GENERATOR_FUNCTION_POINTER_CAN_BE_NULL_OPT \
32 "(" COMMON_HARNESS_GENERATOR_HAVOC_MEMBER_OPT "):"
34 #define COMMON_HARNESS_GENERATOR_HELP \
35 " {y--" COMMON_HARNESS_GENERATOR_MIN_NULL_TREE_DEPTH_OPT \
37 "minimum level at which a pointer can first be NULL in a recursively " \
38 "nondet initialized struct\n" \
39 " {y--" COMMON_HARNESS_GENERATOR_MAX_NONDET_TREE_DEPTH_OPT \
41 "limit size of nondet (e.g. input) object tree; at level {uN} pointers " \
43 " {y--" COMMON_HARNESS_GENERATOR_MIN_ARRAY_SIZE_OPT \
45 "minimum size of dynamically created arrays (default: 1)\n" \
46 " {y--" COMMON_HARNESS_GENERATOR_MAX_ARRAY_SIZE_OPT \
48 "maximum size of dynamically created arrays (default: 2)\n" \
49 " {y--" COMMON_HARNESS_GENERATOR_FUNCTION_POINTER_CAN_BE_NULL_OPT \
51 "{ufunction_name} \t " \
52 "name of the function(s) pointer parameters that can be NULL " \
54 " {y--" COMMON_HARNESS_GENERATOR_HAVOC_MEMBER_OPT \
55 "} {umember_expr} \t " \
56 "path to the member to be havocked\n"