Title :
Research on C/C++ Code Static Detection Based on Syntax Tree
Author :
Lai, Xiaochen ; Zhou, Kuanjiu ; Qiu, Peifeng
Author_Institution :
Fac. of Electron. Inf. & Electr. Eng., Dalian Univ. of Technol., Dalian, China
Abstract :
To reduce the redundant information in software static analysis and improve the accuracy and efficiency of the information extraction, this paper proposed a syntax trees model based on relational storage mode. Modeling on dependency relationship between terminals will effectively reduce the information redundancy and can be stored in XML (eXtensible Markup Language) format. Using the mature XML parsing technique, a new static detection method based on XML model is put forward and applied to program norm. Experimental results show that: the method not only improves the detection efficiency but also increases the detection accuracy.
Keywords :
C++ language; XML; computational linguistics; program compilers; program diagnostics; trees (mathematics); C/C++ code static detection; XML parsing technique; extensible markup language; information extraction; relational storage mode; software static analysis; syntax tree; Analytical models; Data mining; Encoding; Security; Software; Syntactics; XML;
Conference_Titel :
Control, Automation and Systems Engineering (CASE), 2011 International Conference on
Conference_Location :
Singapore
Print_ISBN :
978-1-4577-0859-6
DOI :
10.1109/ICCASE.2011.5997729