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*

*Corresponding author for this work

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-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)
PublisherIEEE
Pages279-290
Number of pages12
ISBN (Electronic)978-1-6654-5813-9
DOIs
Publication statusPublished - Dec 2021
Event21st IEEE International Conference on Software Quality, Reliability and Security (QRS) - Hainan, China
Duration: 6 Dec 202110 Dec 2021

Publication series

NameIEEE International Conference on Software Quality Reliability and Security
ISSN (Print)2693-9185
ISSN (Electronic)2693-9177

Conference

Conference21st IEEE International Conference on Software Quality, Reliability and Security (QRS)
PlaceChina
CityHainan
Period6/12/2110/12/21

Bibliographical note

Full text of this publication does not contain sufficient affiliation information. With consent from the author(s) concerned, the Research Unit(s) information for this record is based on the existing academic department affiliation of the author(s).

Research 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