开发者

How to do static analysis for C++ code with Eclipse cdt?

I need to get the static information of C++ program with CDT. No need to build the project, just to get the basic information(namespace, class, extends relation, method, call, field) and save them to database. Is there any code examples or opensource plugin? thx!

I have tried a lot of methods开发者_Python百科 but they do not work very well. someone says that codan is a choice, but it doesn't work on my environment...

PS: CDT is necessary. I use Eclipse Indigo.


Eclipse CDT has already built-in tools for extends relation, method call. It is Type Hierarchy view and Call Hierarchy view. You have to build Index of your project for all this tools to work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜