* * GOTO_DIFF 6.11.0 (cbmc-6.11.0-dirty) 64-bit * *
* * Copyright (C) 2016 * *
* * Daniel Kroening, Peter Schrammel * *
* * kroening@kroening.com * *
Usage: Purpose:
goto-diff [-?] [-h] [--help] show this help
goto-diff old new compare two goto binaries
Diff options:
--show-goto-functions show loaded goto program
--list-goto-functions list loaded goto functions
--show-properties show the properties, but don't run analysis
--show-loops show the loops in the programs
-u, --unified output unified diff
--change-impact, --forward-impact, --backward-impact output unified diff with
forward&backward/forward/backward dependencies
--compact-output output dependencies in compact mode
Program instrumentation options:
--no-standard-checks disable default checks (more information in
manpage)
--bounds-check enable array bounds checks (default on)
--no-bounds-check disable array bounds checks
--pointer-check enable pointer checks (default on)
--no-pointer-check disable pointer checks
--memory-leak-check enable memory leak checks
--memory-cleanup-check enable memory cleanup checks
--div-by-zero-check enable division by zero checks on integers
(default on)
--float-div-by-zero-check enable division by zero checks on floating-point
numbers (default off)
--no-div-by-zero-check disable division by zero checks
--signed-overflow-check enable signed arithmetic over- and underflow
checks (default on)
--no-signed-overflow-check disable signed arithmetic over- and underflow
checks
--unsigned-overflow-check enable arithmetic over- and underflow checks
--pointer-overflow-check enable pointer arithmetic over- and underflow
checks
--conversion-check check whether values can be represented after
type cast
--undefined-shift-check check shift greater than bit-width (default on)
--no-undefined-shift-check disable check for shift greater than bit-width
--float-overflow-check check floating-point for +/-Inf
--nan-check check floating-point for NaN
--enum-range-check checks that all enum type expressions have values
in the enum range
--pointer-primitive-check checks that all pointers in pointer primitives
are valid or null (default on)
--no-pointer-primitive-check disable checks that all pointers in pointer
primitives are valid or null
--retain-trivial-checks include checks that are trivially true
--error-label label check that label label is unreachable
--no-built-in-assertions ignore assertions in built-in library
--no-assertions ignore user assertions
--no-assumptions ignore user assumptions
--assert-to-assume convert user assertions to assumptions
--cover CC create test-suite with coverage criterion CC,
where CC is one of assertion[s], assume[s], branch
[es], condition[s], cover, decision[s], location[s
], or mcdc
--cover-failed-assertions do not stop coverage checking at failed
assertions (this is the default for --cover
assertions)
--show-test-suite print test suite for coverage criterion (requires
--cover)
Other options:
--version show version and exit
--json-ui use JSON-formatted output
--flush flush every line of output
--verbosity # verbosity level
--timestamp [monotonic|wall] print microsecond-precision timestamps. monotonic
: stamps increase monotonically. wall: ISO-8601
wall clock timestamps.
Options (43)
| Option | Description | Source |
|---|---|---|
--show-goto-functions | show loaded goto program | help + man |
--list-goto-functions | list loaded goto functions | help + man |
--show-properties | show the properties, but don't run analysis | help + man |
--show-loops | show the loops in the programs | help + man |
-u, --unified | output unified diff | help + man |
--change-impact, --forward-impact, --backward-impact | | output unified diff with forward&backward/forward/backward dependencies | help + man + man + man |
--compact-output | output dependencies in compact mode | help + man |
--no-standard-checks | disable default checks (more information in manpage) | help |
--bounds-check | enable array bounds checks (default on) | help + man |
--no-bounds-check | disable array bounds checks | help |
--pointer-check | enable pointer checks (default on) | help + man |
--no-pointer-check | disable pointer checks | help |
--memory-leak-check | enable memory leak checks | help + man |
--memory-cleanup-check | Enable memory cleanup checks: assert that all dynamically allocated memory is explicitly freed before terminating the program. | help + man |
--div-by-zero-check | enable division by zero checks on integers (default on) | help + man |
--float-div-by-zero-check | enable division by zero checks on floating-point numbers (default off) | help + man |
--no-div-by-zero-check | disable division by zero checks | help |
--signed-overflow-check | enable signed arithmetic over- and underflow checks (default on) | help + man |
--no-signed-overflow-check | disable signed arithmetic over- and underflow checks | help |
--unsigned-overflow-check | enable arithmetic over- and underflow checks | help + man |
--pointer-overflow-check | enable pointer arithmetic over- and underflow checks | help + man |
--conversion-check | check whether values can be represented after type cast | help + man |
--undefined-shift-check | check shift greater than bit-width (default on) | help + man |
--no-undefined-shift-check | disable check for shift greater than bit-width | help |
--float-overflow-check | check floating-point for +/-Inf | help + man |
--nan-check | check floating-point for NaN | help + man |
--enum-range-check | checks that all enum type expressions have values in the enum range | help + man |
--pointer-primitive-check | checks that all pointers in pointer primitives are valid or null (default on) | help + man |
--no-pointer-primitive-check | disable checks that all pointers in pointer primitives are valid or null | help |
--retain-trivial-checks | include checks that are trivially true | help + man |
--error-label label | check that label label is unreachable | help + man |
--no-built-in-assertions | ignore assertions in built-in library | help + man |
--no-assertions | ignore user assertions | help + man |
--no-assumptions | ignore user assumptions | help + man |
--assert-to-assume | convert user assertions to assumptions | help + man |
--cover CC | create test-suite with coverage criterion CC, where CC is one of assertion[s], assume[s], branch [es], condition[s], cover, decision[s], location[s ], or mcdc | help + man |
--cover-failed-assertions | do not stop coverage checking at failed assertions (this is the default for --cover assertions) | help + man |
--show-test-suite | print test suite for coverage criterion (requires --cover) | help + man |
--version | show version and exit | help + man |
--json-ui | use JSON-formatted output | help + man |
--flush | flush every line of output | help + man |
--verbosity # | verbosity level | help + man |
--timestamp monotonic|wall | print microsecond-precision timestamps. | help |