Lightweight Equivalence Checking of Code Transformation for Code Pointer Integrity 


Vol. 46,  No. 12, pp. 1279-1290, Dec.  2019
10.5626/JOK.2019.46.12.1279


PDF

  Abstract

Code transformation is widely used to improve the performance and security of programs, but serious software errors can occur in this process if the generated program is not equivalent to the original program. There are a number of approaches for translation validation that can be used to prove the equivalence of programs, but the high cost of proof checking restricts the applicability of these techniques for large programs. In this paper, we propose a practical approach for checking the correctness of LLVM code transformation. We first prove the correctness of the transformation rules using automated theorem proving before compilation. We then perform a simple code analysis method—as opposed to directly proving the program equivalence— to check whether the transformations rules are correctly applied to the generated code. As the complexity of the proposed code analysis is linear, our technique can be effectively applied to large programs, unlike previous techniques. To prove the effectiveness of the proposed approach, we present a case study on LLVM code transformation for a code pointer integrity instrumentation.


  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]

J. Lee, T. Choi, G. Lee, J. Yu, K. Bae, "Lightweight Equivalence Checking of Code Transformation for Code Pointer Integrity," Journal of KIISE, JOK, vol. 46, no. 12, pp. 1279-1290, 2019. DOI: 10.5626/JOK.2019.46.12.1279.


[ACM Style]

Jaeseo Lee, Tae-Hyoung Choi, Gyuho Lee, Jaegwan Yu, and Kyungmin Bae. 2019. Lightweight Equivalence Checking of Code Transformation for Code Pointer Integrity. Journal of KIISE, JOK, 46, 12, (2019), 1279-1290. DOI: 10.5626/JOK.2019.46.12.1279.


[KCI Style]

이재서, 최태형, 이규호, 유재관, 배경민, "CPI 보안 강화 코드 변환의 실용적인 동등성 검사 기법," 한국정보과학회 논문지, 제46권, 제12호, 1279~1290쪽, 2019. DOI: 10.5626/JOK.2019.46.12.1279.


[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