Hunting for bugs in code coverage tools via randomized differential testing

计算机科学 代码覆盖率 软件错误 象征性执行 模糊测试 回归检验 测试用例 源代码 程序切片 静态程序分析 编码(集合论) 软件 软件测试 静态分析 缓冲区溢出 无效代码 测试套件 算法
作者
Yibiao Yang,Yuming Zhou,Hao Sun,Zhendong Su,Zhiqiang Zuo,Lei Xu,Baowen Xu
出处
期刊:International Conference on Software Engineering 卷期号:: 488-499 被引量:8
标识
DOI:10.1109/icse.2019.00061
摘要

Reliable code coverage tools are critically important as it is heavily used to facilitate many quality assurance activities, such as software testing, fuzzing, and debugging. However, little attention has been devoted to assessing the reliability of code coverage tools. In this study, we propose a randomized differential testing approach to hunting for bugs in the most widely used C code coverage tools. Specifically, by generating random input programs, our approach seeks for inconsistencies in code coverage reports produced by different code coverage tools, and then identifies inconsistencies as potential code coverage bugs. To effectively report code coverage bugs, we addressed three specific challenges: (1) How to filter out duplicate test programs as many of them triggering the same bugs in code coverage tools; (2) how to automatically reduce large test programs to much smaller ones that have the same properties; and (3) how to determine which code coverage tools have bugs? The extensive evaluations validate the effectiveness of our approach, resulting in 42 and 28 confirmed/fixed bugs for gcov and llvm-cov, respectively. This case study indicates that code coverage tools are not as reliable as it might have been envisaged. It not only demonstrates the effectiveness of our approach, but also highlights the need to continue improving the reliability of code coverage tools. This work opens up a new direction in code coverage validation which calls for more attention in this area.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
英俊的铭应助乐正雅阳采纳,获得10
1秒前
温暖的以旋完成签到,获得积分10
1秒前
CodeCraft应助lalala采纳,获得10
2秒前
xx发布了新的文献求助10
3秒前
何渡星舟完成签到 ,获得积分10
3秒前
辛子发布了新的文献求助10
3秒前
zhanwenlin发布了新的文献求助10
3秒前
梅梅梅完成签到,获得积分20
4秒前
4秒前
profit完成签到,获得积分10
5秒前
ccc发布了新的文献求助10
5秒前
ly发布了新的文献求助10
5秒前
山风发布了新的文献求助30
6秒前
6秒前
能干梦芝应助zhbbbb采纳,获得10
6秒前
量子星尘发布了新的文献求助10
6秒前
Gilmore发布了新的文献求助10
6秒前
天天快乐应助明理可愁采纳,获得10
7秒前
人生如梦应助小鸟采纳,获得10
7秒前
7秒前
传奇3应助yang采纳,获得10
8秒前
9秒前
9秒前
9秒前
shuiha完成签到,获得积分10
10秒前
10秒前
10秒前
10秒前
funi完成签到,获得积分10
10秒前
学术小迷发布了新的文献求助10
11秒前
11秒前
11秒前
Hello应助qcfy503采纳,获得10
11秒前
Akim应助别先生采纳,获得10
12秒前
13秒前
Glassy发布了新的文献求助20
14秒前
copper发布了新的文献求助10
14秒前
Lumia发布了新的文献求助10
14秒前
局内人发布了新的文献求助10
14秒前
高分求助中
The Mother of All Tableaux Order, Equivalence, and Geometry in the Large-scale Structure of Optimality Theory 2400
Ophthalmic Equipment Market by Devices(surgical: vitreorentinal,IOLs,OVDs,contact lens,RGP lens,backflush,diagnostic&monitoring:OCT,actorefractor,keratometer,tonometer,ophthalmoscpe,OVD), End User,Buying Criteria-Global Forecast to2029 2000
Optimal Transport: A Comprehensive Introduction to Modeling, Analysis, Simulation, Applications 800
Official Methods of Analysis of AOAC INTERNATIONAL 600
ACSM’s Guidelines for Exercise Testing and Prescription, 12th edition 588
T/CIET 1202-2025 可吸收再生氧化纤维素止血材料 500
Comparison of adverse drug reactions of heparin and its derivates in the European Economic Area based on data from EudraVigilance between 2017 and 2021 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3952038
求助须知:如何正确求助?哪些是违规求助? 3497457
关于积分的说明 11087593
捐赠科研通 3228096
什么是DOI,文献DOI怎么找? 1784669
邀请新用户注册赠送积分活动 868839
科研通“疑难数据库(出版商)”最低求助积分说明 801198