cscope

Interactive tool for browsing and searching C/C++ source code

brewmacoslinux
Try with needOr install directly
Source

About

Tool for browsing source code

Commands

cscope

Examples

Build cscope database for current directory$ cscope -R
Search for a symbol definition interactively$ cscope -d
Find all occurrences of a function name$ cscope -L -2 function_name