On 10 January 2014 14:45, shall890 wrote: > Hello, > > I am wanting to extract variable names and their size (int, char and etc.) Those are types, not sizes. A variable's type is a property of the source code, the size of that type depends on the compiler and target platform. > from a c file. Is there any way to extract that type of information? You could compile it and look at the debug info. Or write a GCC plugin to output the info as the file is compiled. There are probably better ways too.