Detection of Potential Memory Access Errors based on Assembly Codes 


Vol. 18,  No. 1, pp. 35-44, Feb.  2011
10.3745/KIPSTD.2011.18.1.35


PDF
  Abstract

Memory errors can cause not only program malfunctions but also even unexpected system halt. Though a programmer checks memory errors, some memory errors with low occurrence frequency are missed to detect. In this paper, we propose a method for effectively detecting such memory errors using instruction transition diagrams through analyzing assembly codes obtained by disassembling an executable file. Out of various memory errors, local memory return errors, null pointer access errors and uninitialized pointer access errors are targeted for detection. When applying the proposed method to various programs including well-known open source programs such as Apache web server and PHP script interpreter, some potential memory errors are detected.

  Statistics


  Cite this article

[IEEE Style]

H. S. Kim, B. M. Kim, H. S. Bae, I. S. Chung, "Detection of Potential Memory Access Errors based on Assembly Codes," The KIPS Transactions:PartD, vol. 18, no. 1, pp. 35-44, 2011. DOI: 10.3745/KIPSTD.2011.18.1.35.

[ACM Style]

Hyun Soo Kim, Byeong Man Kim, Hyun Seop Bae, and In Sang Chung. 2011. Detection of Potential Memory Access Errors based on Assembly Codes. The KIPS Transactions:PartD, 18, 1, (2011), 35-44. DOI: 10.3745/KIPSTD.2011.18.1.35.