Skip to content

Commit 955c4f2

Browse files
authored
Merge pull request #6970 from tautschnig/feature/goto-diff-man-page
Add goto-diff man page
2 parents d3b72f2 + 0eb5266 commit 955c4f2

File tree

1 file changed

+137
-1
lines changed

1 file changed

+137
-1
lines changed

doc/man/goto-diff.1

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/man/goto-diff.1

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
.TH GOTO-DIFF "1" "June 2022" "jdiff-5.59.0" "User Commands"
2+
.SH NAME
3+
goto\-diff \- Syntactic diff of goto binaries
4+
.SH SYNOPSIS
5+
.TP
6+
.B goto\-diff [\-?] [\-h] [\-\-help]
7+
show help
8+
.TP
9+
.B goto\-diff old new
10+
goto binaries to be compared
11+
.SH DESCRIPTION
12+
.SH OPTIONS
13+
.SS "Diff options:"
14+
.TP
15+
\fB\-\-show\-goto\-functions\fR
16+
show loaded goto program
17+
.TP
18+
\fB\-\-list\-goto\-functions\fR
19+
list loaded goto functions
20+
.TP
21+
\fB\-\-show\-properties\fR
22+
show the properties, but don't run analysis
23+
.TP
24+
\fB\-\-show\-loops\fR
25+
show the loops in the programs
26+
.TP
27+
\fB\-u\fR | \fB\-\-unified\fR
28+
output unified diff
29+
.HP
30+
\fB\-\-change\-impact\fR |
31+
.HP
32+
\fB\-\-forward\-impact\fR |
33+
.TP
34+
\fB\-\-backward\-impact\fR
35+
output unified diff with forward&backward/forward/backward dependencies
36+
.TP
37+
\fB\-\-compact\-output\fR
38+
output dependencies in compact mode
39+
.SS "Program instrumentation options:"
40+
.TP
41+
\fB\-\-bounds\-check\fR
42+
enable array bounds checks
43+
.TP
44+
\fB\-\-pointer\-check\fR
45+
enable pointer checks
46+
.TP
47+
\fB\-\-memory\-leak\-check\fR
48+
enable memory leak checks
49+
.TP
50+
\fB\-\-div\-by\-zero\-check\fR
51+
enable division by zero checks
52+
.TP
53+
\fB\-\-signed\-overflow\-check\fR
54+
enable signed arithmetic over\- and underflow checks
55+
.TP
56+
\fB\-\-unsigned\-overflow\-check\fR
57+
enable arithmetic over\- and underflow checks
58+
.TP
59+
\fB\-\-pointer\-overflow\-check\fR
60+
enable pointer arithmetic over\- and underflow checks
61+
.TP
62+
\fB\-\-conversion\-check\fR
63+
check whether values can be represented after type cast
64+
.TP
65+
\fB\-\-undefined\-shift\-check\fR
66+
check shift greater than bit\-width
67+
.TP
68+
\fB\-\-float\-overflow\-check\fR
69+
check floating\-point for +/\-Inf
70+
.TP
71+
\fB\-\-nan\-check\fR
72+
check floating\-point for NaN
73+
.TP
74+
\fB\-\-enum\-range\-check\fR
75+
checks that all enum type expressions have values in the enum range
76+
.TP
77+
\fB\-\-pointer\-primitive\-check\fR
78+
checks that all pointers in pointer primitives are valid or null
79+
.TP
80+
\fB\-\-retain\-trivial\-checks\fR
81+
include checks that are trivially true
82+
.TP
83+
\fB\-\-error\-label\fR label
84+
check that label is unreachable
85+
.TP
86+
\fB\-\-no\-built\-in\-assertions\fR
87+
ignore assertions in built\-in library
88+
.TP
89+
\fB\-\-no\-assertions\fR
90+
ignore user assertions
91+
.TP
92+
\fB\-\-no\-assumptions\fR
93+
ignore user assumptions
94+
.TP
95+
\fB\-\-assert\-to\-assume\fR
96+
convert user assertions to assumptions
97+
.TP
98+
\fB\-\-cover\fR CC
99+
create test\-suite with coverage criterion CC,
100+
where CC is one of assertion[s], assume[s],
101+
branch[es], condition[s], cover, decision[s],
102+
location[s], or mcdc
103+
.TP
104+
\fB\-\-cover\-failed\-assertions\fR
105+
do not stop coverage checking at failed assertions
106+
(this is the default for \fB\-\-cover\fR assertions)
107+
.TP
108+
\fB\-\-show\-test\-suite\fR
109+
print test suite for coverage criterion (requires \fB\-\-cover\fR)
110+
.SS "Other options:"
111+
.TP
112+
\fB\-\-version\fR
113+
show version and exit
114+
.TP
115+
\fB\-\-json\-ui\fR
116+
use JSON\-formatted output
117+
.TP
118+
\fB\-\-flush\fR
119+
flush every line of output
120+
.TP
121+
\fB\-\-verbosity\fR \fIn\fR
122+
verbosity level
123+
.TP
124+
\fB\-\-timestamp\fR [\fBmonotonic\fR|\fBwall\fR]
125+
Print microsecond\-precision timestamps. \fBmonotonic\fR: stamps increase
126+
monotonically. \fBwall\fR: ISO\-8601 wall clock timestamps.
127+
.SH ENVIRONMENT
128+
All tools honor the TMPDIR environment variable when generating temporary
129+
files and directories.
130+
.SH BUGS
131+
If you encounter a problem please create an issue at
132+
.B https://github.com/diffblue/cbmc/issues
133+
.SH SEE ALSO
134+
.BR cbmc (1),
135+
.BR goto-analyzer (1)
136+
.SH COPYRIGHT
137+
2016, Daniel Kroening, Peter Schrammel

0 commit comments

Comments
 (0)