---

Linux.com: Using Cscope and SilentBob to Analyze Source Code

“When you start learning the source code of an unfamiliar
project, you don’t have the knowledge of its structure or the
meaning of specific functions, classes, and units in the project.
You can use tags to browse for definitions, but it’s hard to get an
overall picture by just looking through every definition one by
one. Cscope and SilentBob are two tools that can help you analyze
unfamiliar source code. They help you find symbol definitions,
determine where specific functions are used, determine which
functions are called by other given functions, and search for
strings and patterns throughout the code base. With them, you can
save time by doing fast, targeted searches instead of grepping
through source files by hand.

“Cscope is a popular utility, and most modern distributions
include it…”

Complete
Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis