Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add documentation of default for --max-nondet-array-length, see #8428 #8432

Merged
merged 2 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions doc/cprover-manual/unsound_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ The following options will produce a warning when used with CBMC or JBMC:
See [Understanding Loop Unwinding](../cbmc/unwinding/) for an elaboration of
these options.

For arrays with unknown length (e.g. input arrays), JBMC has a default limit that
can be changed with the option `--max-nondet-array-length`.

### Experimental Options

Be advised that the following command line options to `cbmc` and `goto-instrument`
Expand Down
2 changes: 1 addition & 1 deletion jbmc/src/java_bytecode/java_bytecode_language.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Author: Daniel Kroening, [email protected]
"transform `throw` instructions into `assert FALSE` followed by " \
"`assume FALSE`.\n" \
" {y--max-nondet-array-length} {uN} \t " \
"limit nondet (e.g. input) array size to <= {uN}\n" \
"limit nondet (e.g. input) array size to <= {uN} (default 5)\n" \
" {y--max-nondet-tree-depth} {uN} \t " \
"limit size of nondet (e.g. input) object tree; at level {uN} references " \
"are set to null\n" \
Expand Down
Loading