commit | 63d7ff9e01ae5ec15ffb7e463972a7ae7ebb5364 | [log] [tgz] |
---|---|---|
author | Max Moroz <[email protected]> | Mon Oct 02 21:40:39 2017 |
committer | Max Moroz <[email protected]> | Mon Oct 02 21:40:39 2017 |
tree | c6e9d130b891f3c50b72d62761f7fa11d2054d26 | |
parent | 20dd2d8e0a3e6df7d9c1fa87127d37b3badf66d9 [diff] |
Add script for local generation and visualization of code coverage. It's a temporary solution while pending integration on LLVM side. An example of usage: ./coverage.py --command "out/coverage/zlib_uncompress_fuzzer \ -runs=0 $HOME/corpus/zlib_uncompress_fuzzer" --source "$PWD" \ --output "cov" <...> Done. The next steps would be: 1. cd cov && python -m SimpleHTTPServer 2. open http://127.0.0.1:8000/report.html Examples of reports: - small test target: http://go/cov-sample-1 - v8_script_parser_fuzzer: http://go/cov-sample-2 Bug: 759794 Change-Id: I57b8ffc7ff70d2415dc0d3796508e85f7c1f048b Reviewed-on: https://chromium-review.googlesource.com/677138 Reviewed-by: Max Moroz <[email protected]> Reviewed-by: Oliver Chang <[email protected]> Cr-Commit-Position: refs/heads/master@{#505795}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .