Hi, I am developing a software analysis tool and wanted to , if I can, make it accept information exported from gcc compilations of C++ code, for example. In simple terms I am interested in obtaining from either the front end processor, or preferably from the gcc core if it is available, a form of symbol table that contains information such as functions and details of file lines on which they are called, variables and again details of which lines in the code files they are referenced on and also the data types defined in the program. Are there any symbol tables in gcc where such information is maintained?
Can you give me any hints as to where to look (e.g. which files) to find such cross reference information? Has anyone written something already for the compiler suite that will export the symbod table for use by external tools? I figure if there was information in a symbol table as opposed to in a tree it would be easier to process. Hope you can help! Regards Gary