@@ -52,26 +52,36 @@ void goto_check_c(
52
52
" (no-pointer-primitive-check)(no-undefined-shift-check)(no-div-by-zero-check)"
53
53
54
54
#define HELP_GOTO_CHECK \
55
- " {y--bounds-check} \t enable array bounds checks\n " \
56
- " {y--pointer-check} \t enable pointer checks\n " \
55
+ " {y--bounds-check} \t enable array bounds checks (default on)\n " \
56
+ " {y--no-bounds-check} \t disable array bounds checks\n " \
57
+ " {y--pointer-check} \t enable pointer checks (default on)\n " \
58
+ " {y--no-pointer-check} \t disable pointer checks\n " \
57
59
" {y--memory-leak-check} \t enable memory leak checks\n " \
58
60
" {y--memory-cleanup-check} \t enable memory cleanup checks\n " \
59
- " {y--div-by-zero-check} \t enable division by zero checks\n " \
61
+ " {y--div-by-zero-check} \t enable division by zero checks (default on) \n " \
60
62
" {y--signed-overflow-check} \t " \
61
- " enable signed arithmetic over- and underflow checks\n " \
63
+ " enable signed arithmetic over- and underflow checks (default on)\n " \
64
+ " {y--no-signed-overflow-check} \t " \
65
+ " disable signed arithmetic over- and underflow checks\n " \
62
66
" {y--unsigned-overflow-check} \t " \
63
67
" enable arithmetic over- and underflow checks\n " \
64
68
" {y--pointer-overflow-check} \t " \
65
69
" enable pointer arithmetic over- and underflow checks\n " \
66
70
" {y--conversion-check} \t " \
67
71
" check whether values can be represented after type cast\n " \
68
- " {y--undefined-shift-check} \t check shift greater than bit-width\n " \
72
+ " {y--undefined-shift-check} \t check shift greater than bit-width " \
73
+ " (default on)\n " \
74
+ " {y--no-undefined-shift-check} \t disable check for shift greater than " \
75
+ " bit-width\n " \
69
76
" {y--float-overflow-check} \t check floating-point for +/-Inf\n " \
70
77
" {y--nan-check} \t check floating-point for NaN\n " \
71
78
" {y--enum-range-check} \t " \
72
79
" checks that all enum type expressions have values in the enum range\n " \
73
80
" {y--pointer-primitive-check} \t " \
74
- " checks that all pointers in pointer primitives are valid or null\n " \
81
+ " checks that all pointers in pointer primitives are valid or null (default " \
82
+ " on)\n " \
83
+ " {y--no-pointer-primitive-check} \t " \
84
+ " disable checks that all pointers in pointer primitives are valid or null\n " \
75
85
" {y--retain-trivial-checks} \t include checks that are trivially true\n " \
76
86
" {y--error-label} {ulabel} \t check that label {ulabel} is unreachable\n " \
77
87
" {y--no-built-in-assertions} \t ignore assertions in built-in library\n " \
0 commit comments