Internships/ProjectIdeas/CodeCoveragePlugin
TCG Code Coverage Plugin
Summary: Implement a cove coverage plugin for QEMU's TCG plugins.
Generating code coverage of your programs usually involves instrumenting them through your build process. Often this is painful if you want to also work out how much coverage of library functions you are doing. As QEMU's basic block boundaries are naturally at branch points you could do all of this pretty easily with a TCG plugin. The plugin could then output information that could be injested by a script to calculate the what was needed for tools like gcovr.
Links:
- See Features/TCGPlugins
- See also the docs
Details:
- Skill level: intermediate with a good understanding of a processor instruction and data caches
- Language: C, Python
- Mentor: Alex Bennée (alex.bennee@linaro.org)
- Suggested by: Alex Bennée