Lune

FSE2023Top-tier venue

Heterogeneous Testing for Coverage Profilers Empowered with Debugging Support

Yibiao Yang, Maolin Sun, Yang Wang, Qingyang Li, Ming Wen, Yuming Zhou

Abstract

Ensuring the correctness of code coverage profilers is crucial, given the widespread adoption of code coverage for various software engineering tasks. Existing validation techniques, such as differential testing and metamorphic testing, have shown effectiveness in uncovering bugs in coverage profilers. However, these techniques have limitations as they primarily rely on homogeneous sources, i.e., different coverage profilers or the profilers themselves, for validation. In this paper, we propose Decov, a novel heterogeneous testing technique, to validate coverage profilers using the information provided by debuggers as a heterogeneous source. Coverage profilers record execution counts for each source line in the program, while debuggers monitor hit counts for each source line when running the program in debug mode. Our key insight is that the execution counts obtained from coverage profilers should align with the hit counts monitored by debuggers, without conflicts. Decov constructs multiple heterogeneous relations and utilizes them to uncover bugs in coverage profilers. Through experiments on Gcov and LLVM-cov, two widely used code coverage profilers, we discovered 21 new bug reports, with 19 of them directly confirmed by developers. Notably, developers have resolved 5 bugs in the latest trunk version. Decov serves as a simple yet effective coverage profiler validator and offers a complementary approach to existing techniques.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • CollAFL: Path Sensitive Fuzzing cites Skyfire: Data-Driven Seed Generation for Fuzzing
  • CollAFL: Path Sensitive Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
  • Skyfire: Data-Driven Seed Generation for Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
  • Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing cites CollAFL: Path Sensitive Fuzzing
  • Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing cites Skyfire: Data-Driven Seed Generation for Fuzzing
  • Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing cites Coverage-based Greybox Fuzzing as Markov Chain
  • One Fuzzing Strategy to Rule Them All cites Skyfire: Data-Driven Seed Generation for Fuzzing
  • One Fuzzing Strategy to Rule Them All cites Coverage-based Greybox Fuzzing as Markov Chain
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Using a Sledgehammer to Crack a Nut? Revisiting Automated Compiler Fault IsolationYibiao Yang, Qingyang Li, Maolin Sun, Jiangchang Wu et al.ICSE 2026 · 1 citation

Builds on7

  1. Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 citations
  2. CollAFL: Path Sensitive FuzzingShuitao Gan, Chao Zhang, Xiaojun Qin, Xuwen Tu et al.S&P 2018 · 426 citations
  3. Skyfire: Data-Driven Seed Generation for FuzzingJunjie Wang, Bihuan Chen, Lei Wei, Yang LiuS&P 2017 · 382 citations
  4. Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided TracingStefan Nagy, Matthew HicksS&P 2019 · 156 citations
  5. One Fuzzing Strategy to Rule Them AllMingyuan Wu, Ling Jiang, Jiahong Xiang, Yanwei Huang et al.ICSE 2022 · 64 citations

Related papers

  1. DebCovDiff: Differential Testing of Coverage Measurement Tools on Real-World ProjectsWentao Zhang, Jinghao Jia, Erkai Yu, Darko Marinov et al.ASE 2025 · 1 citation
  2. Metamorphic CoverageJinsheng Ba, Yuancheng Jiang, Manuel RiggerISSTA 2026
  3. DTD: Comprehensive and Scalable Testing for DebuggersHongyi Lu, Zhibo Liu, Shuai Wang, Fengwei ZhangFSE 2024 · 2 citations
  4. Compilation Consistency Modulo Debug InformationTheodore Luo Wang, Yongqiang Tian, Yiwen Dong, Zhenyang Xu et al.ASPLOS 2023 · 14 citations
  5. The Use of Likely Invariants as Feedback for FuzzersAndrea Fioraldi, Daniele Cono D'Elia, Davide BalzarottiUSENIX Security 2021 · 67 citations
Dusk over the sea between two cliffs drawn in fine vertical lines