开发者

I want to generate list of called functions from a c source file

开发者 https://www.devze.com 2023-01-23 09:27 出处:网络
ctags -x --c-kinds=f *.c will give me functions defined in these C files. But I want instead just the functions called in these C files.
ctags -x --c-kinds=f *.c

will give me functions defined in these C files.

But I want instead just the functions called in these C files.

I couldn't find that option in ctags, and cscope appears only interactive.

How can I get a list of t开发者_如何学编程he functions called in one or more C files, sent to stdout for further piping/filtering?

0

精彩评论

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