Monday, February 28, 2005

cscope: code browsing made easier

hi,
When i first looked at the source code of linux kernel, it was some c code: obscure, unintimidating, and wierd ;-).
Then i came across this "cscope", a boon for all code browsers.

Cscope is a developer's tool for browsing source code. It has an impeccable Unix pedigree, having been originally developed at Bell Labs back in the days of the PDP-11.
Cscope was part of the official AT&T Unix distribution for many years, and has been used to manage projects involving 20 million lines of code!
The fuzzy parser supports C, but is flexible enough to be useful for C++ and Java, and for use as a generalized
'grep database' (use it to browse large text documents!).
Has a command line mode for inclusion in scripts or as a backend to a GUI/frontend. Runs on all flavors of Unix,
plus most monopoly-controlled operating systems.
The tutorial would make you clear how to use cscope.

Its features include :
  • Allows searching code for:
  • all references to a symbol
  • global definitions
  • functions called by a function
  • functions calling a function
  • text string
  • regular expression pattern
  • a file
  • files including a file

Hope this would make code browsing a great place on earth. :P
Happy code browsing!!!

for more details :
http://sourceforge.net/projects/cscope/
http://cscope.sourceforge.net/cscope_man_page.html

Keep coming to this blog!!!
vg...

1 Comments:

At Thu Aug 04, 01:45:00 AM 2005, Blogger Archana Raghupathy said...

good blog... work on having some kool templates..

 

Post a Comment

<< Home