Skip to content

Commit ed0acac

Browse files
committed
Upate man files to match --no-malloc-fail option implemented
1 parent 553c728 commit ed0acac

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

doc/man/cbmc.1

+2-5
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,8 @@ do not check that all pointers in pointer primitives are valid or null
102102
\fB\-\-no\-signed\-overflow\-check\fR
103103
disable signed arithmetic over\- and underflow checks
104104
.TP
105-
\fB\-\-no\-malloc\-may\-fail\fR
106-
do not allow malloc calls to fail by default
107-
.TP
108-
\fB\-\-no\-malloc\-fail\-null\fR
109-
do not set malloc failure mode to return null pointer
105+
\fB\-\-no\-malloc\-fail\fR
106+
Do not allow malloc calls to fail by default.
110107
.TP
111108
\fB\-\-no\-unwinding\-assertions\fR (\fBcbmc\fR\-only)
112109
do not generate unwinding assertions (cannot be

doc/man/goto-analyzer.1

+2-5
Original file line numberDiff line numberDiff line change
@@ -634,11 +634,8 @@ do not check that all pointers in pointer primitives are valid or null
634634
\fB\-\-no\-signed\-overflow\-check\fR
635635
disable signed arithmetic over\- and underflow checks
636636
.TP
637-
\fB\-\-no\-malloc\-may\-fail\fR
638-
do not allow malloc calls to fail by default
639-
.TP
640-
\fB\-\-no\-malloc\-fail\-null\fR
641-
do not set malloc failure mode to return null pointer
637+
\fB\-\-no\-malloc\-fail\fR
638+
Do not allow malloc calls to fail by default.
642639
.TP
643640
\fB\-\-no\-unwinding\-assertions\fR (\fBcbmc\fR\-only)
644641
do not generate unwinding assertions (cannot be

doc/man/goto-instrument.1

+3
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,9 @@ set malloc failure mode to assert\-then\-assume
697697
\fB\-\-malloc\-fail\-null\fR
698698
set malloc failure mode to return null
699699
.TP
700+
\fB\-\-no\-malloc\-fail\fR
701+
Do not allow malloc calls to fail by default.
702+
.TP
700703
\fB\-\-string\-abstraction\fR
701704
track C string lengths and zero\-termination
702705
.TP

0 commit comments

Comments
 (0)