清晨好,您是今天最早来到科研通的研友!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您科研之路漫漫前行!

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)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
可夫司机完成签到 ,获得积分10
1秒前
真水无香完成签到,获得积分10
16秒前
旺旺大礼包完成签到,获得积分10
1分钟前
creep2020完成签到,获得积分10
1分钟前
linqitc完成签到,获得积分10
1分钟前
helen李完成签到 ,获得积分10
1分钟前
科研狗完成签到 ,获得积分0
1分钟前
Zhao完成签到 ,获得积分10
1分钟前
科研通AI5应助fighting采纳,获得10
1分钟前
wangfaqing942完成签到 ,获得积分10
2分钟前
2分钟前
fighting发布了新的文献求助10
2分钟前
2分钟前
Llt发布了新的文献求助10
2分钟前
小郭完成签到 ,获得积分10
2分钟前
GPTea应助科研通管家采纳,获得20
3分钟前
GPTea应助科研通管家采纳,获得20
3分钟前
qzh006完成签到,获得积分10
3分钟前
Chavin完成签到,获得积分10
3分钟前
完美的jia完成签到,获得积分10
3分钟前
深情安青应助完美的jia采纳,获得10
3分钟前
laohei94_6完成签到 ,获得积分10
4分钟前
科研通AI5应助萱萱采纳,获得10
4分钟前
5分钟前
Llt完成签到,获得积分10
5分钟前
萱萱完成签到,获得积分10
5分钟前
义气的惜霜完成签到,获得积分10
5分钟前
JJJ发布了新的文献求助10
5分钟前
5分钟前
搜集达人应助科研通管家采纳,获得10
5分钟前
5分钟前
momoni完成签到 ,获得积分10
5分钟前
情怀应助雪山飞龙采纳,获得10
5分钟前
LaTeXer应助孤独剑采纳,获得200
5分钟前
JJJ完成签到,获得积分10
5分钟前
aoxianghuang发布了新的文献求助10
5分钟前
aoxianghuang完成签到,获得积分20
5分钟前
科研通AI5应助孤独剑采纳,获得30
5分钟前
徐团伟完成签到 ,获得积分10
6分钟前
科研通AI5应助孤独剑采纳,获得10
6分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Einführung in die Rechtsphilosophie und Rechtstheorie der Gegenwart 1500
NMR in Plants and Soils: New Developments in Time-domain NMR and Imaging 600
Electrochemistry: Volume 17 600
Physical Chemistry: How Chemistry Works 500
SOLUTIONS Adhesive restoration techniques restorative and integrated surgical procedures 500
Energy-Size Reduction Relationships In Comminution 500
热门求助领域 (近24小时)
化学 医学 生物 材料科学 工程类 有机化学 内科学 生物化学 物理 计算机科学 纳米技术 遗传学 基因 复合材料 化学工程 物理化学 病理 催化作用 免疫学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 4952365
求助须知:如何正确求助?哪些是违规求助? 4215092
关于积分的说明 13111173
捐赠科研通 3997017
什么是DOI,文献DOI怎么找? 2187723
邀请新用户注册赠送积分活动 1202987
关于科研通互助平台的介绍 1115740