Skip to content

Commit 9914cb3

Browse files
committed
Change flags to no- variant in goto_check
1 parent 108e9af commit 9914cb3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/ansi-c/goto_check_c.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ void goto_check_c(
3838
message_handlert &message_handler);
3939

4040
#define OPT_GOTO_CHECK \
41-
"(no-bounds-check)(pointer-check)(memory-leak-check)(memory-cleanup-check)" \
42-
"(div-by-zero-check)(enum-range-check)" \
43-
"(signed-overflow-check)(unsigned-overflow-check)" \
44-
"(pointer-overflow-check)(conversion-check)(undefined-shift-check)" \
41+
"(no-bounds-check)(no-pointer-check)(memory-leak-check)(memory-cleanup-check)" \
42+
"(no-div-by-zero-check)(enum-range-check)" \
43+
"(no-signed-overflow-check)(unsigned-overflow-check)" \
44+
"(pointer-overflow-check)(conversion-check)(no-undefined-shift-check)" \
4545
"(float-overflow-check)(nan-check)(no-built-in-assertions)" \
46-
"(pointer-primitive-check)" \
46+
"(no-pointer-primitive-check)" \
4747
"(retain-trivial-checks)" \
4848
"(error-label):" \
4949
"(no-assertions)(no-assumptions)" \

src/cbmc/cbmc_parse_options.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ void cbmc_parse_optionst::get_command_line_options(optionst &options)
327327
// (expected checks and no unsoundness by missing checks).
328328
if (!cmdline.isset("no-standard-checks") && options.get_bool_option("standard-checks"))
329329
set_default_analysis_flags(options);
330-
else
331-
PARSE_OPTIONS_GOTO_CHECK_DEFAULTS_OVERRIDE(cmdline, options);
330+
331+
PARSE_OPTIONS_GOTO_CHECK_DEFAULTS_OVERRIDE(cmdline, options);
332332

333333
// all (non-default) checks supported by goto_check
334334
PARSE_OPTIONS_GOTO_CHECK(cmdline, options);

0 commit comments

Comments
 (0)