We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CBMC version: 6.2.0 & 6.3.1 Operating system: Ubuntu 20.04 Exact command line resulting in the issue: $ cbmc test_str.c --cover cover --show-test-suite --json-ui
$ cbmc test_str.c --cover cover --show-test-suite --json-ui
with test_str.c:
test_str.c
int f(char* s) { if (s == "foo") { __CPROVER_cover(1); return 1; } return 0; } int main(){ char* str; __CPROVER_input("str", str); return (f (str)); }
What behaviour did you expect:
The command without --json-ui ($ cbmc test_str.c --cover cover --show-test-suite`) returns the following:
$
** 1 of 1 covered (100.0%) Test suite: str="foo"
I expected the --json-ui to return the same.
What happened instead:
CBMC returns the following test suite in json format:
{ "coveredGoals": [ "f.coverage.1" ], "inputs": [ { "id": "str", "value": { "name": "unknown" } } ] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
CBMC version: 6.2.0 & 6.3.1
Operating system: Ubuntu 20.04
Exact command line resulting in the issue:
$ cbmc test_str.c --cover cover --show-test-suite --json-ui
with
test_str.c
:What behaviour did you expect:
The command without --json-ui (
$
cbmc test_str.c --cover cover --show-test-suite`) returns the following:I expected the --json-ui to return the same.
What happened instead:
CBMC returns the following test suite in json format:
The text was updated successfully, but these errors were encountered: