Automated Capturing and Replaying Unit Inputs of C Programs from System Executions through Static and Dynamic Analysis 


Vol. 45,  No. 10, pp. 1035-1044, Oct.  2018
10.5626/JOK.2018.45.10.1035


PDF

  Abstract

Despite the high testing power of unit testing, it has an infeasible input problem, which is an impossible input for a unit in a real system. There is a technique known as Carving and Replay (CR) that serializes the state of the program when a target function is called in system execution and uses it as unit test case by deserializing it, to solve this infeasible input problem. However, unlike programming languages like Java, the C programming language does not provide a serialization method. Also, because of the C programming language’s features such as structure, union, and pointer, it has its own challenges for applying the CR technique. In this paper, we examine the challenges and suggest a CR tool for C programs by solving such problems with tracking the memory usage of the program, using run-time information from dynamic analysis, and inserting a probe code by static analysis.


  Statistics
Cumulative Counts from November, 2022
Multiple requests among the same browser session are counted as one view. If you mouse over a chart, the values of data points will be shown.


  Cite this article

[IEEE Style]

H. Lim, Y. Kim, M. Kim, "Automated Capturing and Replaying Unit Inputs of C Programs from System Executions through Static and Dynamic Analysis," Journal of KIISE, JOK, vol. 45, no. 10, pp. 1035-1044, 2018. DOI: 10.5626/JOK.2018.45.10.1035.


[ACM Style]

Hyunsu Lim, Yunho Kim, and Moonzoo Kim. 2018. Automated Capturing and Replaying Unit Inputs of C Programs from System Executions through Static and Dynamic Analysis. Journal of KIISE, JOK, 45, 10, (2018), 1035-1044. DOI: 10.5626/JOK.2018.45.10.1035.


[KCI Style]

임현수, 김윤호, 김문주, "C 프로그램의 동적 및 정적 분석을 통한 시스템 실행에서의 유닛 입력 값 자동 수집 및 재연," 한국정보과학회 논문지, 제45권, 제10호, 1035~1044쪽, 2018. DOI: 10.5626/JOK.2018.45.10.1035.


[Endnote/Zotero/Mendeley (RIS)]  Download


[BibTeX]  Download



Search




Journal of KIISE

  • ISSN : 2383-630X(Print)
  • ISSN : 2383-6296(Electronic)
  • KCI Accredited Journal

Editorial Office

  • Tel. +82-2-588-9240
  • Fax. +82-2-521-1352
  • E-mail. chwoo@kiise.or.kr