Efficient instrumentation for code coverage testing

Author:

Tikir Mustafa M.1,Hollingsworth Jeffrey K.1

Affiliation:

1. University of Maryland, College Park, MD

Abstract

Evaluation of Code Coverage is the problem of identifying the parts of a program that did not execute in one or more runs of a program. The traditional approach for code coverage tools is to use static code instrumentation. In this paper we present a new approach to dynamically insert and remove instrumentation code to reduce the runtime overhead of code coverage. We also explore the use of dominator tree information to reduce the number of instrumentation points needed. Our experiments show that our approach reduces runtime overhead by 38-90% compared with purecov, a commercial code coverage tool. Our tool is fully automated and available for download from the Internet.

Publisher

Association for Computing Machinery (ACM)

Reference16 articles.

1. C-Cover Code Coverage Analyzer for C/C++ . http://www.bullseye.com/ccover.html Bullseye Testing Technology. C-Cover Code Coverage Analyzer for C/C++ . http://www.bullseye.com/ccover.html Bullseye Testing Technology.

2. Crashme Benchmark by MySQL Database System . http://www.mysql.com/information/crash-me.php. Crashme Benchmark by MySQL Database System . http://www.mysql.com/information/crash-me.php.

3. Rational PureCoverage for Unix . http://www.rational.com/products/purecoverage/index.jtmpl Rational Software Corporation. Rational PureCoverage for Unix . http://www.rational.com/products/purecoverage/index.jtmpl Rational Software Corporation.

4. SPEC newsletter . September 1995 http://www.specbench.org/osg/cpu95/CINT95. SPEC newsletter . September 1995 http://www.specbench.org/osg/cpu95/CINT95.

5. A. Aho R. Sethi and J. Ullman Compilers: Principles Techniques and Tools. 1986: Addison-Wesley Publishing Com. A. Aho R. Sethi and J. Ullman Compilers: Principles Techniques and Tools. 1986: Addison-Wesley Publishing Com.

Cited by 41 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. AndroLog: Android Instrumentation and Code Coverage Analysis;Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering;2024-07-10

2. Precision Guided Approach to Mitigate Data Poisoning Attacks in Federated Learning;Proceedings of the Fourteenth ACM Conference on Data and Application Security and Privacy;2024-06-19

3. A Set-Covering Approach to Customized Coverage Instrumentation;INFORMS Journal on Computing;2023-10-09

4. Bit-wise All Edge-pairs Coverage;Proceedings of the XXXVII Brazilian Symposium on Software Engineering;2023-09-25

5. Fuzzing Embedded Systems using Debug Interfaces;Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis;2023-07-12

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3