开发者

parser for c++ headers to extract functions with standard linux tools? [duplicate]

This question already has an answer here: Closed 11 years ago.

Possible Duplicate:

parser for c++ headers to extract functions with standard linux tools?

is there something like this? need to extract c++ functions from header files with all the parameters the开发者_运维问答y use. would be nice if i can use standard linux programms


You can use a program called 'understand 4 c++'. What it does is parse your program like a compiler. However instead of spitting out executable code, it just creates relationships that you can browse your source code (Like Intellisense in visual studio). However it is very powerful. The best and my favorite part is that it exposes a very powerful API that allows you to write your own static analysis tools.

So in essence, just dumping all function signatures in header files is a snap using this API.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜