开发者

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

开发者 https://www.devze.com 2023-03-04 16:05 出处:网络
This question already has an answer here: Closed 11 years ago. Possible Duplicate: parser for c++ headers to extract functions with standard linux tools?
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

精彩评论

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