Maintenance of legacy software is often a costly task. Software analysis tools can help a lot by providing insight in existing code. However, for C++, this tooling often doesn’t give satisfactory answers. In this talk, I will introduce ClaiR, a generic C++ analysis framework I built on top of the meta-programming language Rascal. Also, I will discuss its future directions and show a modeling result.