跳到主要导航 跳到搜索 跳到主要内容

Towards Efficient Data-Flow Test Data Generation

  • Ting Su*
  • , Chengyu Zhang
  • , Yichen Yan
  • , Lingling Fan
  • , Yang Liu
  • , Zhoulai Fu
  • , Zhendong Su
  • *此作品的通讯作者
  • Swiss Federal Institute of Technology Zurich
  • East China Normal University
  • Nankai University
  • Nanyang Technological University
  • Stony Brook University

科研成果: 书/报告/会议事项章节章节同行评审

摘要

Data-flow testing (DFT) aims to detect potential data interaction anomalies by focusing on the points at which variables receive values and the points at which these values are used. Such test objectives are referred as def-use pairs. However, the complexity of DFT still overwhelms the testers in practice. To tackle this problem, we introduce a hybrid testing framework for data-flow based test generation: (1) The core of our framework is symbolic execution (SE), enhanced by a novel guided path exploration strategy to improve testing performance; and (2) we systematically cast DFT as reachability checking in software model checking (SMC) to complement SE, yielding practical DFT that combines the two techniques’ strengths. We implemented our framework for C programs on top of the state-of-the-art symbolic execution engine KLEE and instantiated with three different software model checkers. Our evaluation on the 28,354 def-use pairs collected from 33 open-source and industrial program subjects shows that (1) our SE-based approach can improve DFT performance by 15–48% in terms of testing time, compared with existing search strategies; and (2) our combined approach can further reduce testing time by 20.1–93.6%, and improve data-flow coverage by 27.8–45.2% by eliminating infeasible test objectives. This combined approach also enables the cross-checking of each component for reliable and robust testing results.

源语言英语
主期刊名Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
出版商Springer Science and Business Media Deutschland GmbH
257-293
页数37
DOI
出版状态已出版 - 2023

出版系列

姓名Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
14080 LNCS
ISSN(印刷版)0302-9743
ISSN(电子版)1611-3349

指纹

探究 'Towards Efficient Data-Flow Test Data Generation' 的科研主题。它们共同构成独一无二的指纹。

引用此