Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
244 views
in Technique[技术] by (71.8m points)

ctags - Is there any way to get a list of called functions in a C source file

ctags -x --c-kinds=f *.c will give me functions defined in these C files.

But instead I want just the functions being 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 the functions called in one or more C files, sent to stdout for further piping/filtering?

question from:https://stackoverflow.com/questions/65898933/is-there-any-way-to-get-a-list-of-called-functions-in-a-c-source-file

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...