inFamix

inFamix is a free C/C++ and Java parser and FAMIX 3.0 model exporter, based on tried inFusion technology. 

It employs the exact same state-of-the-art parsing technology that we have built into our industry-strength analysis tool inFusion. In fact, this tool is nothing more than the inFusion model builder and MSE exporter components, put together and packaged as a standalone command line tool.
 
To use it, type the following in the command line (Linux is taken as an example):
 
$ inFamix -lang ( cpp | java | c ) -path path/to/project -mse path/to/msefile.mse

Key features

Speaks three different languages

By relying on the same state of the art parsing technology as inFusion, inFamix can handle the programming languages C, C++ and Java. When you specify "C" inFamix treats your project as pure procedural code. When you specify "C++" inFamix will treat your project either as pure C++, or mixed C/C++ project.