Á¤º¸°úÇÐȸ ³í¹®Áö B : ¼ÒÇÁÆ®¿þ¾î ¹× ÀÀ¿ë
Current Result Document :
ÇѱÛÁ¦¸ñ(Korean Title) |
union ¸â¹ö »ç¿ë ¿À·ù °ËÃâ ±â¹ý |
¿µ¹®Á¦¸ñ(English Title) |
A Method for Detecting Misuse of union Members |
ÀúÀÚ(Author) |
ÁÖ¼º¿ë
Á¶Àå¿ì
Seongyong Joo
Jang-Wu Jo
|
¿ø¹®¼ö·Ïó(Citation) |
VOL 38 NO. 04 PP. 0224 ~ 0228 (2011. 04) |
Çѱ۳»¿ë (Korean Abstract) |
C/C++ÀÇ union ¸â¹ö »ç¿ë ¿À·ù´Â union º¯¼ö¿¡ ÀúÀåµÈ °ªÀÇ Å¸ÀÔ°ú ´Ù¸¥ ŸÀÔÀÇ union ¸â¹ö¸¦ »ç¿ëÇؼ °ªÀ» ÂüÁ¶ÇÏ´Â °ÍÀÌ´Ù. union ¸â¹ö »ç¿ë ¿À·ù¸¦ Æ÷ÇÔÇÏ´Â ÇÁ·Î±×·¥Àº ½ÇÇà Áß ¿À·ù¸¦ ¹ß»ýÇϰųª ½ÇÇà ÈÄ ÀûÀýÇÏÁö ¸øÇÑ °á°ú¸¦ ¹ß»ýÇÒ ¼ö ÀÖ´Ù. ±âÁ¸ ÄÄÆÄÀÏ·¯´Â union ¸â¹ö »ç¿ë ¿À·ù¸¦ ´Ù·çÁö ¾Ê±â ¶§¹®¿¡ À̸¦ °ËÃâÇϱâ À§ÇÑ ºÐ¼®±â°¡ ÇÊ¿äÇÏ´Ù. º» ³í¹®¿¡¼´Â ÀÌ °°Àº ¿À·ù¸¦ °ËÃâÇϱâ À§ÇÑ ±â¹ýÀ» Á¦¾ÈÇÑ´Ù. Á¦¾ÈÇÏ´Â ±â¹ýÀº ŸÀÔ °è»ê½Ä°ú ŸÀÔ ÁÖ¼®À» ÀÌ¿ëÇؼ union ¸â¹ö »ç¿ë ¿À·ù¸¦ °ËÃâÇÑ´Ù.
|
¿µ¹®³»¿ë (English Abstract) |
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.
|
Å°¿öµå(Keyword) |
union
Á¤ÀûºÐ¼®
¼ÒÇÁÆ®¿þ¾î º¸¾È
¼ÒÇÁÆ®¿þ¾î Ãë¾àÁ¡
ŸÀÔ ÁÖ¼®
È帧-°í·Á ºÐ¼®
union
static analysis
software security
software vulnerability
type qualifiers
flow-sensitive
|
ÆÄÀÏ÷ºÎ |
PDF ´Ù¿î·Îµå
|