$\require{mediawiki-texvc}$

연합인증

연합인증 가입 기관의 연구자들은 소속기관의 인증정보(ID와 암호)를 이용해 다른 대학, 연구기관, 서비스 공급자의 다양한 온라인 자원과 연구 데이터를 이용할 수 있습니다.

이는 여행자가 자국에서 발행 받은 여권으로 세계 각국을 자유롭게 여행할 수 있는 것과 같습니다.

연합인증으로 이용이 가능한 서비스는 NTIS, DataON, Edison, Kafe, Webinar 등이 있습니다.

한번의 인증절차만으로 연합인증 가입 서비스에 추가 로그인 없이 이용이 가능합니다.

다만, 연합인증을 위해서는 최초 1회만 인증 절차가 필요합니다. (회원이 아닐 경우 회원 가입이 필요합니다.)

연합인증 절차는 다음과 같습니다.

최초이용시에는
ScienceON에 로그인 → 연합인증 서비스 접속 → 로그인 (본인 확인 또는 회원가입) → 서비스 이용

그 이후에는
ScienceON 로그인 → 연합인증 서비스 접속 → 서비스 이용

연합인증을 활용하시면 KISTI가 제공하는 다양한 서비스를 편리하게 이용하실 수 있습니다.

C언어 기반 프로그램의 소스코드 분석을 이용한 메모리 접근오류 자동검출 기법
An automated memory error detection technique using source code analysis in C programs 원문보기

정보처리학회논문지. The KIPS transactions. Part D. Part D, v.14D no.6, 2007년, pp.675 - 688  

조대완 (충남대학교 컴퓨터공학과) ,  오승욱 (슈어소프트테크(주)) ,  김현수 (충남대학교 전기정보통신공학부)

초록
AI-Helper 아이콘AI-Helper

잘못된 메모리 접근으로부터 발생되는 오류는 C언어로 작성된 프로그램에서 가장 빈번하게 발생하는 오류이다. 이러한 오류를 자동으로 검출하기 위한 기존의 상용화 도구 및 연구결과는 수행시간에 테스트 대상 프로그램에 가해지는 부가적인 오버헤드가 매우 크거나 검출할 수 있는 메모리 접근오류의 종류가 제한적이다. 본 논문에서는 기존연구의 한계점을 개선한 새로운 메모리 접근오류 검출기법을 제안하고 실험을 통해 기존연구와의 비교분석을 수행하였다. 본 논문은 C언어 기반 프로그램의 소스코드 분석기법에 기반하고 있으며, 테스트 대상 프로그램에 할당된 동적 메모리 블록의 주소 범위에 대해 컬러링 기법을 적용한다. 본 논문에서 제안하는 오류검출기법은 기존의 바이너리 코드 분석기법에 비해 다양한 형태의 메모리 접근오류를 검출할 수 있으며, 테스트 대상 프로그램의 수행시간에 요구되는 메타데이터의 유지 및 갱신연산에 따른 공간 및 성능오버헤드가 기존의 소스코드 분석기법에 비해 개선되었다. 또한 본 논문에서 제안하는 기법은 테스트 대상 프로그램과 공유 라이브러리간의 호환성 문제를 일으키지 않으며, 메모리 할당함수의 내부 메커니즘을 변경하지 않는 특징을 갖고 있다.

Abstract AI-Helper 아이콘AI-Helper

Memory access errors are frequently occurred in C programs. A number of tools and research works have been trying to detect the errors automatically. However, they have one or more of the following problems: inability to detect all memory errors, changing the memory allocation mechanism, incompatibi...

주제어

참고문헌 (11)

  1. W. Xu, D. C. DuVarney, and R.Sekar, 'An efficient and backwards-compatible transformation to ensure memory safety of C programs,' Proc. of the 12th ACM SIGSOFT Symp. on the FSE, Oct. 2004, pp.117-126 

  2. Barton P. Miller, Lars Fredriksen, and Bryan So. 'An empirical study of the reliability of Unix utilities,' Communications of the ACM, 33(12):32-44, December 1990 

  3. Mark Sullivan and Ram Chillarege. 'Software defects and their impact on system availability - a study of field failures in operation systems,' Digest of the 21st International Symposium on Fault Tolerant Computing, page 2-9, June 1991 

  4. William R. Bush, Jonathan D. Pincus and David J. Sielaff. 'A static analyzer for finding dynamic programming errors,' SP&E, 30(7):775-802, June 2000 

  5. T. Austin, S. Breach, and G. Sohi. 'Efficient detection of all pointer and array access errors.' In Proceedings of the ACM SIGPLAN '94 Conference on Programming Language Design and Implementation, June 1994 

  6. R. Jones and P. Kelly. 'Backwards-compatible bounds checking for arrays and pointers in C programs,' In Proceeding of Third International Workshop On Automatic Debugging, May 1997 

  7. O. Ruwase and M. Lam. 'A practical dynamic buffer overflow detector.' In Proceedings of the Network and Distributed System Security (NDSS) Symposium, pages 159-169, Feb. 2004 

  8. D. Dhurjati, V. Adve, 'Backwards compatible array bounds checking for C with very low overhead,' In Proceeding of the 28th international conference on software engineering (ICSE), Shanhai, China, May 2006 

  9. G. C. Necula, J. Condit, M. Harren, S. McPeak, and W. Weimer. 'CCured: type safe retrofitting of legacy software,' ACM Trans. Program. Lang. Syst., 27(3):477-526, 2005 

  10. R. Hastings and B. Joyce. 'Purify: fast detection of memory leaks and access errors,' In Proceedings of the Winter USENIX Conference, pages 125- 136, 1992 

  11. Valgrind Online Manual. http://valgrind.org/docs/manual /manual.htm 

저자의 다른 논문 :

LOADING...

관련 콘텐츠

오픈액세스(OA) 유형

BRONZE

출판사/학술단체 등이 한시적으로 특별한 프로모션 또는 일정기간 경과 후 접근을 허용하여, 출판사/학술단체 등의 사이트에서 이용 가능한 논문

이 논문과 함께 이용한 콘텐츠

저작권 관리 안내
섹션별 컨텐츠 바로가기

AI-Helper ※ AI-Helper는 오픈소스 모델을 사용합니다.

AI-Helper 아이콘
AI-Helper
안녕하세요, AI-Helper입니다. 좌측 "선택된 텍스트"에서 텍스트를 선택하여 요약, 번역, 용어설명을 실행하세요.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.

선택된 텍스트

맨위로