I want to extract some information from C code like: list of variable/function or global variable, definition-use of variable. Currently i convert c code to xml and parse xml file to collect this information. but it is really difficult process. So is there any parser/tool for that?