Research of the Code Plagiarism Identification of Secondary Storage Based on Syntax Tree
Kunhua Zhu, Yanpei Liu, Yanci Wang · International Conference on Information Security · 2011
Based on C source code copied to detect problems as the background, this paper combines text comparison with grammatical analysis, and analyzes the syntax tree of storage ways to improve the method of Comparative efficiency. First of all, according to the C language grammar rules to source text to a degree of pretreatment, secondly after pretreatment source for the further lexical analysis and grammatical analysis form syntax tree, once more, according to certain comparison algorithm compared to syntax tree. The one hand, the data comparison results of each algorithm to compare the logic, the other hand, and the entire source code file called relationship between the function to compare. Ultimately achieve the depth of the purpose of identifying its homology. Then begin the main text.