已入深夜,您辛苦了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人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
刚刚
心灵美语兰完成签到 ,获得积分10
刚刚
积极一德完成签到 ,获得积分10
1秒前
Echo发布了新的文献求助50
2秒前
yiga完成签到,获得积分20
3秒前
insomnia417完成签到,获得积分0
3秒前
自由的氧化铝完成签到 ,获得积分10
3秒前
tei_snow发布了新的文献求助10
4秒前
5秒前
雪白鸿涛发布了新的文献求助10
5秒前
Tsin778完成签到 ,获得积分10
5秒前
清爽的诗云完成签到 ,获得积分10
5秒前
油柑美式完成签到,获得积分10
6秒前
嘟嘟雯完成签到 ,获得积分10
7秒前
Cope完成签到 ,获得积分10
8秒前
wang完成签到,获得积分10
8秒前
爱吃草莓和菠萝的吕可爱完成签到,获得积分10
8秒前
大模型应助顺颂时祺采纳,获得10
8秒前
简单寻冬完成签到,获得积分10
8秒前
雪白鸿涛完成签到,获得积分10
9秒前
咖褐完成签到 ,获得积分10
9秒前
一三二五七完成签到 ,获得积分0
9秒前
bubble完成签到,获得积分10
10秒前
辣辣完成签到,获得积分10
10秒前
KT酱完成签到 ,获得积分10
10秒前
DiJia发布了新的文献求助10
11秒前
浮浮世世完成签到,获得积分10
11秒前
小蘑菇应助阿九采纳,获得10
13秒前
14秒前
芝士奶盖有点咸完成签到 ,获得积分10
14秒前
16秒前
南瓜小笨111111完成签到 ,获得积分10
17秒前
踏实的白羊完成签到,获得积分10
17秒前
顺利纸鹤完成签到,获得积分10
17秒前
瑶山完成签到,获得积分10
18秒前
简单的沛蓝完成签到 ,获得积分10
18秒前
19秒前
Kevin完成签到,获得积分10
19秒前
小债完成签到 ,获得积分10
19秒前
忧郁小鸽子完成签到,获得积分10
20秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Kolmogorov, A. N. Qualitative study of mathematical models of populations. Problems of Cybernetics, 1972, 25, 100-106 800
FUNDAMENTAL STUDY OF ADAPTIVE CONTROL SYSTEMS 500
微纳米加工技术及其应用 500
Nanoelectronics and Information Technology: Advanced Electronic Materials and Novel Devices 500
Performance optimization of advanced vapor compression systems working with low-GWP refrigerants using numerical and experimental methods 500
Constitutional and Administrative Law 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5301191
求助须知:如何正确求助?哪些是违规求助? 4448856
关于积分的说明 13847395
捐赠科研通 4334823
什么是DOI,文献DOI怎么找? 2379876
邀请新用户注册赠送积分活动 1374944
关于科研通互助平台的介绍 1340763