Tool for source code analysis? [closed]

2019-04-02 04:29发布

Source code analysis and exploration tools for C and C++ seem to be sorely lacking.

Are there any tools which I can use to gather information about C and/or C++ source files? cscope does part of what I would need, Doxygen looks closer.

At a minimum list of all function, callers, callees, variable references etc. Perhaps Doxygen's xml output would work.

Ideally gcc or llvm could be hooked for this purpose but I have yet to find a convenient way to do so.

Any suggestions?

7条回答
可以哭但决不认输i
2楼-- · 2019-04-02 05:19

You might find SourceMonitor helpful for more statistical analysis for code, plus its free :)

查看更多
登录 后发表回答