Font Size: a A A

C Program Files Dependent Analysis

Posted on:2005-07-11Degree:MasterType:Thesis
Country:ChinaCandidate:W W HuangFull Text:PDF
GTID:2208360152467095Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Program dependence analysis is broadly applied in many fields, such as program test and comprehending. Because C language is flexible, it is very difficult to partition the function module of the source file written by C language, because every function module will affect each other. At the present time, there are some slicing methods to analyze the source, but these methods base on statement-grade analysis technology and are not fit for the programmers to comprehend the whole system, and the programmers can't understand the system in detail by the documents about the programs. So we need to find a middle-grade analysis technology between the document-grade and the statement-grade.The thesis will analyze the files' dependence basing on statement dependence analysis. The file dependence analysis will offer the programmers the clear files' relation and make the user more easily comprehend and maintain the program.The file dependence analysis relates to many aspects, including statement-grade dependence analysis and procedure-grade dependence analysis, and it summarizes the low-grade analysis methods. The thesis discusses the program dependence technology, and then introduces some kinds of file dependence relation in detail, including pre-compilation dependence, function dependence and global variable dependence, and introduces the file dependence graph. At last the thesis specifies the design and implementation of file dependence analysis.
Keywords/Search Tags:control dependence, data dependence, module, program slicing, pre-compilation
PDF Full Text Request
Related items