Closed markrtuttle closed 2 years ago
Can we address the request from @danielsn to get warnings into JSON so they aren't missed by CI users, and the try to advance this PR?
This pull request interacts badly with the --export-file-local flag. The static function foo in file.c is named CPROVER_file_local_file_c_foo in the symbol table with pretty name foo. The --show-reachable-functions flag shows the function reachable with the name __CPROVER_file_local_file_c_foo, but reachable functions skips names with internal prefix CPROVER. On the other hand, coverage data refers to the function as foo and not __CPROVER_file_local_file_c_foo.
Switching to draft pull request until this is fixed.
When complete, this pull request should close https://github.com/model-checking/cbmc-viewer/issues/69
Closing as cbmc support has improved since the original submission and there is now an easier implementation
This pull request restricts the coverage calculation and reporting to those functions cbmc considers reachable functions (and not just all functions appearing in the goto binary).
This requires