Loading...
Searching...
No Matches
Go to the documentation of this file.
9#ifndef CPROVER_GOTO_HARNESS_MEMORY_SNAPSHOT_HARNESS_GENERATOR_OPTIONS_H
10#define CPROVER_GOTO_HARNESS_MEMORY_SNAPSHOT_HARNESS_GENERATOR_OPTIONS_H
14#define MEMORY_SNAPSHOT_HARNESS_SNAPSHOT_OPT "memory-snapshot"
15#define MEMORY_SNAPSHOT_HARNESS_INITIAL_GOTO_LOC_OPT "initial-goto-location"
16#define MEMORY_SNAPSHOT_HARNESS_INITIAL_SOURCE_LOC_OPT "initial-source-location"
17#define MEMORY_SNAPSHOT_HARNESS_HAVOC_VARIABLES_OPT "havoc-variables"
18#define MEMORY_SNAPSHOT_HARNESS_TREAT_POINTER_AS_ARRAY_OPT "pointer-as-array"
19#define MEMORY_SNAPSHOT_HARNESS_ASSOCIATED_ARRAY_SIZE_OPT "size-of-array"
21#define MEMORY_SNAPSHOT_HARNESS_GENERATOR_OPTIONS \
22 "(" MEMORY_SNAPSHOT_HARNESS_SNAPSHOT_OPT \
24 "(" MEMORY_SNAPSHOT_HARNESS_INITIAL_GOTO_LOC_OPT \
26 "(" MEMORY_SNAPSHOT_HARNESS_INITIAL_SOURCE_LOC_OPT \
28 "(" MEMORY_SNAPSHOT_HARNESS_HAVOC_VARIABLES_OPT \
30 "(" MEMORY_SNAPSHOT_HARNESS_TREAT_POINTER_AS_ARRAY_OPT \
32 "(" MEMORY_SNAPSHOT_HARNESS_ASSOCIATED_ARRAY_SIZE_OPT "):"
34#define MEMORY_SNAPSHOT_HARNESS_GENERATOR_HELP \
35 "memory snapshot harness generator ({y--harness-type}\n" \
36 " {yinitialize-with-memory-snapshot}):\n" \
37 " {y--" MEMORY_SNAPSHOT_HARNESS_SNAPSHOT_OPT \
39 "initialize memory from JSON memory snapshot\n" \
40 " {y--" MEMORY_SNAPSHOT_HARNESS_INITIAL_GOTO_LOC_OPT \
41 "} {ufunc}[{y:}{un}] " \
43 "use given function and location number as entry point\n" \
44 " {y--" MEMORY_SNAPSHOT_HARNESS_INITIAL_SOURCE_LOC_OPT \
45 "} {ufile}{y:}{un} " \
47 "use given file name and line number as entry point\n" \
48 " {y--" MEMORY_SNAPSHOT_HARNESS_HAVOC_VARIABLES_OPT \
50 "initialize variables from {uvars} to non-deterministic " \
51 "values\n" COMMON_HARNESS_GENERATOR_HELP \
52 " {y--" MEMORY_SNAPSHOT_HARNESS_TREAT_POINTER_AS_ARRAY_OPT \
54 "treat the global pointer with the name {up} as an array\n" \
55 " {y--" MEMORY_SNAPSHOT_HARNESS_ASSOCIATED_ARRAY_SIZE_OPT \
57 "{uarray_name}{y:}{usize_name} \t " \
58 "set the parameter {usize_name} to the size of the array {uarray_name} " \
60 "{y-- " MEMORY_SNAPSHOT_HARNESS_TREAT_POINTER_AS_ARRAY_OPT \