File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1130,7 +1130,7 @@ bool configt::set(const cmdlinet &cmdline)
11301130 {
11311131 ansi_c.malloc_may_fail = true ;
11321132 }
1133- if (cmdline.isset (" no-malloc-fail" ))
1133+ if (cmdline.isset (" no-malloc-may- fail" ))
11341134 {
11351135 ansi_c.malloc_may_fail = false ;
11361136 ansi_c.malloc_failure_mode = ansi_ct::malloc_failure_mode_none;
Original file line number Diff line number Diff line change @@ -70,15 +70,15 @@ class symbol_table_baset;
7070 " {y--no-library} \t disable built-in abstract C library\n "
7171
7272#define OPT_CONFIG_LIBRARY \
73- " (malloc-fail-assert)(malloc-fail-null)(malloc-may-fail)(no-malloc-fail)" \
73+ " (malloc-fail-assert)(malloc-fail-null)(malloc-may-fail)(no-malloc-may- fail)" \
7474 " (string-abstraction)"
7575
7676#define HELP_CONFIG_LIBRARY \
7777 " {y--malloc-may-fail} \t allow malloc calls to return a null pointer\n " \
78+ " {y--no-malloc-may-fail} \t disable potential malloc failure\n " \
7879 " {y--malloc-fail-assert} \t " \
7980 " set malloc failure mode to assert-then-assume\n " \
8081 " {y--malloc-fail-null} \t set malloc failure mode to return null\n " \
81- " {y--no-malloc-fail} \t Disable potential malloc failure.\n " \
8282 " {y--string-abstraction} \t track C string lengths and zero-termination\n "
8383
8484#define OPT_CONFIG_JAVA " (classpath)(cp)(main-class)"
You can’t perform that action at this time.
0 commit comments