Title :
Detecting type errors and secure coding in C/C++ applications
Author :
Mcheick, Hamid ; Dhiab, Heni ; Dbouk, Mohamed ; Mcheik, Rakan
Abstract :
The programming languages such as C/C++ suffer from memory management and security of code especially when their codes are used in critical systems. Therefore, we need an efficient mechanism to detect memory and type errors. Some researches have been done and many tools have been developed to detect these errors and to secure C/C++ code. However, theses tools have some drawbacks such as memory management and leak, and type errors in static and dynamic analysis. Generally speaking, this paper proposes a dynamic analysis mechanism to detect type errors in modules of C/C++ code using aspect-oriented programming. We illustrate problems by examples and discuss their solutions.
Keywords :
C++ language; aspect-oriented programming; coding errors; error detection; program debugging; security of data; storage management; C/C++ applications; aspect-oriented programming; dynamic analysis; memory errors detection; memory management; programming languages; secure coding; static analysis; type errors detection; Programming; Weaving;
Conference_Titel :
Computer Systems and Applications (AICCSA), 2010 IEEE/ACS International Conference on
Conference_Location :
Hammamet
Print_ISBN :
978-1-4244-7716-6
DOI :
10.1109/AICCSA.2010.5587027