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

expat: showing 0.0% code coverage even if the static inline function is reached #1360

Open
catenacyber opened this issue Jan 15, 2024 · 2 comments

Comments

@catenacyber
Copy link

Cf https://introspector.oss-fuzz.com/project-profile?project=expat

This seems to come from
Cf https://storage.googleapis.com/oss-fuzz-coverage/expat/reports/20240113/linux/src/expat/expat/fuzz/xml_parse_fuzzer.c.html#L51

We see that the function's body of ParseOneInput, (likely inlined by the compiler) is shown as covered, but the lines calling it like https://storage.googleapis.com/oss-fuzz-coverage/expat/reports/20240113/linux/src/expat/expat/fuzz/xml_parse_fuzzer.c.html#L71 show a O% coverage, even if they were obviously run as the lines just above and below them...

Would you know about this already ? (bug in clang somehow ? )

@DavidKorczynski
Copy link
Contributor

I think this may be similar to #482

@catenacyber
Copy link
Author

I think this may be similar to #482

Indeed, any plans to fix it ?

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

No branches or pull requests

2 participants