tool for listing C functions used in source code?

看板FB_chat作者時間21年前 (2004/08/21 13:38), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/5 (看更多)
What are some good tools for searching source code that can list all the standard libc functions used? For example, I'd like to point it at some code and have it tell me that it uses: strftime 1 time isatty 1 setlocale 1 getuid 1 getbsize 5 strlen 25 et cetera Then I could see what the most used functions are for some research I am doing. Does anyone know of a tool that can do that? I am testing cscope, but it doesn't appear to behave like I want. I do like how it looks at the includes though. I don't want it to be interactive. I just want a list of all functions used. I can use sort and uniq to count if needed. Next I'll look at cflow. But I am not sure if does what I want either. Jeremy C. Reed BSD News, BSD tutorials, BSD links http://www.bsdnewsletter.com/ _______________________________________________ freebsd-chat@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"
文章代碼(AID): #119j_800 (FB_chat)
討論串 (同標題文章)
文章代碼(AID): #119j_800 (FB_chat)