Title :
Fall-in C: a software tool for pitfall detection in C programs
Author :
Kakeshita, Tetsuro ; Oda, Mariko ; Imamura, Yoshihiro
Author_Institution :
Dept. of Inf. Sci., Saga Univ., Japan
Abstract :
Programming language C has a flexible structure, and its compiler generates compact and efficient object codes. However slight bugs (pitfall) which cannot be detected by the compiler may cause a serious error in C programs. We are developing a software tool Fall-in C to detect such pitfalls. The paper demonstrates the basic features of Fall-in C. In order to enable a programmer to correct the detected pitfalls immediately, Fall-in C is executed within GNU Emacs editor. Pitfalls in C programs are mainly ad hoc. Thus we prepare three pitfall detection methods for the extensibility of Fall-in C: regular expression searching, structural pattern matching and message analysis of external programs. The patterns for the first two methods can be easily added to Fall-in C. Furthermore the message analysis method can be used to integrate several C program checkers such as lint, check and cchk into Fall-in C
Keywords :
C language; program testing; software fault tolerance; software tools; C program checkers; C programs; Fall-in C; GNU Emacs editor; compiler; detection methods; efficient object codes; extensibility; external programs; message analysis; pitfall detection; programming language C; regular expression searching; software tool; structural pattern matching; Computer bugs; Computer languages; Flexible structures; Gas detectors; Information science; Pattern analysis; Pattern matching; Program processors; Programming profession; Software tools;
Conference_Titel :
Software Engineering Conference, 1994. Proceedings., 1994 First Asia-Pacific
Conference_Location :
Tokyo
Print_ISBN :
0-8186-6960-8
DOI :
10.1109/APSEC.1994.465254