Browse > Article
http://dx.doi.org/10.3745/KIPSTD.2011.18D.1.035

Detection of Potential Memory Access Errors based on Assembly Codes  

Kim, Hyun-Soo (금오공과대학교 소프트웨어공학과)
Kim, Byeong-Man (금오공과대학교 컴퓨터공학부)
Bae, Hyun-Seop (슈어소프트테크(주))
Chung, In-Sang (한성대학교 컴퓨터공학과)
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.
Keywords
Detection Of Function Pointer Error; Static Program Analysis; State Transition Diagram; Analysis Based On Assembly Code;
Citations & Related Records
Times Cited By KSCI : 1  (Citation Analysis)
연도 인용수 순위
1 Jason D. Hiser, Clark L. Coleman, Michele Co and Jack W. Davison, "MEDS: The Memory Error Detection System", Engineering Secure Software and Systems, LNCS 5429, pp 164-179, 2009.   DOI   ScienceOn
2 SureSoftTech, "TEST Monitor", http://suresofttech.com, 2007.
3 정영범, 김재황, 신재호, 이광근, “아이락: C 프로그램의 메모리 오류 정적 분석기", 한국정보과학회 2005 가을 학술발표대회문집 32(2), pp. 964-966 2005.11   과학기술학회마을
4 J. Seward, N. Nethercote, "Valgrind", http://www.valgrind.org, 2000.
5 Patrick Cousot and Radhia Cousot, "Abstract interpretation: a unied lattice model for static analysis of programs by construction or approximation of xpoints", Proceedings of ACM Symposium on Principles of Programming Languages, pp 238-252, 1977.
6 Kevin Scott and Jack Davidson, “Strata: A Software Dynamic Translation Infrastructure”, In Proceedings of the Workshop on Binary Translation (WBT '01), Barcelona, Spain, September 2001.
7 Apache Web Server, "http://httpd.apache.org", 1995.
8 PHP Scripting Language, "http://www.php.net", 1995.