Generate Call-Tree from cscope database

后端 未结 5 1976
我寻月下人不归
我寻月下人不归 2021-02-05 20:28

I want to generate Full and Partially Call Trees from cscope database of c and c++ projects in Linux.

The project is rather large, so it can be not easy to work with the

5条回答
  •  伪装坚强ぢ
    2021-02-05 21:17

    I'm not aware of any programs, other than cscope, that read cscope databases. Even vim's cstag functionality just starts a background cscope process which it queries.

    As for call-graph generation, if you don't mind stepping outside cscope, I rather like what doxygen creates. They can be a little big, but it also generates the graph from almost all points, and it's incredibly easy to browse source directly in it.

提交回复
热议问题