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

Restrict coverage to reachable functions #69

Open
markrtuttle opened this issue Dec 7, 2021 · 1 comment
Open

Restrict coverage to reachable functions #69

markrtuttle opened this issue Dec 7, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@markrtuttle
Copy link
Contributor

We should restrict coverage to the reachable functions. Currently coverage checking reports coverage on all code, not just the statically reachable code. Prior attempts to restrict to reachable functions were broken by the used of --export-file-local-symbols because goto-analysis was reporting the mangled name and coverage data was reporting the unmangled name.

This is important because proof writers use --remove-function-body excessively to clean up the coverage reports. This would make that unnecessary.

@markrtuttle
Copy link
Contributor Author

The listing by goto-instrument has been cleaned up. There is a branch with preliminary work on this, I'll find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant