OPE: Transforming Programs with Clean and Precise Separation of Tested Intraprocedural Program Paths with Path Profiling

Chunbai Yang, Imran Ashraf, Xiaoxue Ma, Hao Zhang, W. K. Chan

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Executing program paths outside the ones tested means that the program is executing scenarios not tested before deployment. No existing technique can produce a program that precisely contains an arbitrary set of tested program paths in each procedure of a tested program. This paper presents the first work, a novel technique called OPE, to address this problem. OPE first builds a transformed procedure that contains the target set of tested paths for every procedure in a tested program. It extends the transformed procedure with additional branches and basic blocks of code to include all remaining paths of the given procedure. The resultant transformed program is functionally equivalent to the tested program. OPE achieves an inherent strict separation of the tested paths from the rest ready for deployment or follow-up program testing and analysis tasks. The experiment confirms that OPE generates programs with clean path separations and outperforms the previous state-of-the-art path encoding technique when applied to path profiling.

Original languageEnglish
Title of host publicationProceedings - 2021 21st International Conference on Software Quality, Reliability and Security, QRS 2021
Pages279-290
Number of pages12
ISBN (Electronic)9781665458139
DOIs
Publication statusPublished - 2021
Externally publishedYes
Event21st International Conference on Software Quality, Reliability and Security, QRS 2021 - Hainan, China
Duration: 6 Dec 202110 Dec 2021

Publication series

NameIEEE International Conference on Software Quality, Reliability and Security, QRS
Volume2021-December
ISSN (Print)2693-9177

Conference

Conference21st International Conference on Software Quality, Reliability and Security, QRS 2021
Country/TerritoryChina
CityHainan
Period6/12/2110/12/21

Keywords

  • Path encoding
  • path profiling
  • program generation

Fingerprint

Dive into the research topics of 'OPE: Transforming Programs with Clean and Precise Separation of Tested Intraprocedural Program Paths with Path Profiling'. Together they form a unique fingerprint.

Cite this