기관회원 [로그인]
소속기관에서 받은 아이디, 비밀번호를 입력해 주세요.
개인회원 [로그인]

비회원 구매시 입력하신 핸드폰번호를 입력해 주세요.
본인 인증 후 구매내역을 확인하실 수 있습니다.

회원가입
서지반출
union 멤버 사용 오류 검출 기법
[STEP1]서지반출 형식 선택
파일형식
@
서지도구
SNS
기타
[STEP2]서지반출 정보 선택
  • 제목
  • URL
돌아가기
확인
취소
  • union 멤버 사용 오류 검출 기법
저자명
주성용,조장우,Joo. Seong-Yong,Jo. Jang-Wu
간행물명
정보과학회논문지. Journal of KIISE. 소프트웨어 및 응용
권/호정보
2011년|38권 4호|pp.224-228 (5 pages)
발행정보
한국정보과학회
파일정보
정기간행물|
PDF텍스트
주제분야
기타
이 논문은 한국과학기술정보연구원과 논문 연계를 통해 무료로 제공되는 원문입니다.
서지반출

기타언어초록

C/C++의 union 멤버 사용 오류는 union 변수에 저장된 값의 타입과 다른 타입의 union 멤버를 사용해서 값을 참조하는 것이다. union 멤버 사용 오류를 포함하는 프로그램은 실행 중 오류를 발생하거나 실행 후 적절하지 못한 결과를 발생할 수 있다. 기존 컴파일러는 union 멤버 사용 오류를 다루지 않기 때문에 이를 검출하기 위한 분석기가 필요하다. 본 논문에서는 이 같은 오류를 검출하기 위한 기법을 제안한다. 제안하는 기법은 타입 계산식과 타입 주석을 이용해서 union 멤버 사용 오류를 검출한다.

기타언어초록

Errors misusing union member are expressions that refer the value of a union variable with different type from the type of the value. A program with errors misusing union member may occur runtime errors or may return inappropriate results. An analyzer for detecting errors misusing union member is required because the existing compilers in C/C++ does not handle those. In this paper we propose an idea that detects those errors. The proposed method detects errors misusing union member using type annotation and type expressions that compute the types of union members.