使用 CScope 查找函数调用(不是定义)(C/C++)

Use CScope to find function calls (NOT definitions) (C/C++)

我需要在我的 C 和 C++ 代码中查找函数调用。当我在寻找一些合适的软件时,我找到了 CScope。它看起来不错,唯一的问题是,我找不到一种方法来找到它的函数调用。

 0 Find this C symbol:
 1 Find this function definition:
 2 Find functions called by this function:
 3 Find functions calling this function:
 4 Find this text string:
 5 Change this text string:
 6 Find this egrep pattern:
 7 Find this file:
 8 Find files

我考虑过找到所有符号 (cscope -L0) 然后删除定义 (cscope -L1),但这意味着,代码将被解析 2 倍,我担心它会太慢。

有没有更好的方法,"original",用 CScope 做到这一点?

使用选项 -L3 请求调用特定函数的函数。