Memory Model Design for Integer-Pointer Casting Support in C-like languages Via Dual Non-determinism 


Vol. 51,  No. 7, pp. 643-654, Jul.  2024
10.5626/JOK.2024.51.7.643


PDF

  Abstract

In system programming, pointers are essential elements. However, applying formal verification methods to programs involving integer-pointer casting poses an important challenge. To address this challenge, a mathematically defined memory model that supports integer-pointer casting, along with proof techniques for verification, is necessary. This study presents a memory model that supports integer-pointer casting within the Coq proof assistant. The model accommodates patterns associated with integer-pointer operations, including one-past-the-end pointers. Additionally, a simulation-based proof technique is introduced, which enables the utilization of the model for program verification. The adequacy of this technique is established through proof. To validate the effectiveness of the approach, the defined memory model is integrated into CompCert, a verified C compiler, replacing its original memory model. Subsequently, two proofs of CompCert's optimization verification are updated using the simulation technique. It is anticipated that the proposed memory model will find applications in program and compiler verification tasks involving integer-pointer operations.


  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]

Y. Kim and C. Hur, "Memory Model Design for Integer-Pointer Casting Support in C-like languages Via Dual Non-determinism," Journal of KIISE, JOK, vol. 51, no. 7, pp. 643-654, 2024. DOI: 10.5626/JOK.2024.51.7.643.


[ACM Style]

Yonghyun Kim and Chung-Kil Hur. 2024. Memory Model Design for Integer-Pointer Casting Support in C-like languages Via Dual Non-determinism. Journal of KIISE, JOK, 51, 7, (2024), 643-654. DOI: 10.5626/JOK.2024.51.7.643.


[KCI Style]

김용현, 허충길, "C와 유사한 언어에서 정수-포인터 변환 지원을 위한 메모리 모델 설계: 이중 비결정성을 사용하여," 한국정보과학회 논문지, 제51권, 제7호, 643~654쪽, 2024. DOI: 10.5626/JOK.2024.51.7.643.


[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