Cspot
Details
| Size: | 268K |
| Last Update: | 2008-05-22 22:03:46 |
| Version: | 0.0.5 |
| OS Support: | Linux |
| License/Program Type: | GPL (GNU General Public License) |
| Publisher: | Petr Susil |
| Price: | $0.00 |
Description:
Cspot 0.0.5 is bug tracking software developed by Petr Susil.
Cspot is a semantic annotator designed only for the C programming language. It is quite similar to cscope, but some more functionality.
Cspot project can be used to find the declarations, definitions, and usages of functions, variables, macros, typedefs, and structs.
It can also find visible identifiers at some position in the source, functions called by a function, global variables used by a function, usages of local variable declarations, unused global variables, unused function definitions, and more. Because it uses sparse, cspot knows more about semantics than cscope.
cspot usage ( cspot -h )
cspot -db spot.db -regexp reg ;; prints all identifiers of project matching reg (extended regexp)
cspot -db spot.db -fc printf ;; prints all declarations of function printf
cspot -db spot.db -fu printf ;; prints all usages of function printf
cspot -db spot.db -vu stdout ;; prints all usages of variable stdout
cspot -db spot.db -sc my_sruct ;; prints places of forward declaration of struct my_struct
cspot -db spot.db -sf my_sruct ;; prints places of definition of struct my_struct
cspot -db spot.db -su my_sruct ;; prints places of usage of struct my_struct
cspot -db spot.db -si my_sruct ;; prints places of definition and variables in struct my_struct
etc.
cspot -va source.c 254 21 ;; prints all visible identifiers at source.c line 254 pos 21
cspot -vla source.c 254 21 ;; prints all visible identifiers (declared in file source.c) at source.c line 254 pos 21
commands for visible functions, macros, variable, called functions by function, global variables used by function ...
cspot -db spot.db -fu printf
printfs all usages of function printf in project (usage = call, assigning to variable)
printf at `base/cmd/commands.h' 249:7
printf at `base/cmd/commands.h' 327:8
printf at `base/cmd/commands.h' 337:8
printf at `base/cmd.c' 313:3
printf at `base/cmd.c' 318:7
printf at `base/cmd.c' 319:36
printf at `base/cmd.c' 321:36
printf at `base/cmd.c' 322:36
printf at `base/cmd.c' 323:36
Cspot 0.0.5 supports english interface languages and works with Linux.
Downloading Cspot 0.0.5 will take several seconds if you use fast ADSL connection.
0 comments
Add to
Cspot Version History
Related Software
|
|
From category: Libraries |
| Audio::MPEG 0.04 is libraries software developed by Peter Timofejew. Audio::MPEG is a Perl module for encoding and decoding of MPEG Audio (MP3). SYNOPSIS use Audio::MPEG; Aud... |
|
|
From category: Assembler-Tools |
| Flat Assembler 1.67 is assembler tools software developed by Tomasz Grysztar. The flat assembler is a fast and efficient self-assembling 80x86 assembler for DOS, Windows, and Linux operating system... |
|
|
From category: Compilers |
| ccache 2.4 is compilers software developed by Andrew Tridgell. ccache is a compiler cache. It acts as a caching pre-processor to C/C++ compilers, using the -E compiler switch and a hash to detect w... |
|
|
From category: Libraries |
| Be::Attribute is a Perl module to get and set MIME file attributes.... |
|
|
From category: Interpreters |
| ArrowHead ASP Server 0.2.3 is interpreters software developed by Lazerdye. ArrowHead ASP Server is a Java Servlet which supports the ASP syntax and the VBScript programming language. It aims to sup... |
|
|
From category: Quality-Assurance-and-Testing |
| CyVis 0.9.0 is quality assurance and testing software developed by Pradeep Selvaraj, Vinay Iyer. CyVis project is a free software metrics collection, analysis and visualisation tool for java based... |
|
|
From category: Libraries |
| Ace::Object 1.89 is libraries software developed by Lincoln Stein. Ace::Object is a Perl module to manipulate Ace Data Objects. SYNOPSIS open database connection and get an obje... |
|
|
From category: Compilers |
| CMU Common Lisp 19d is compilers software developed by Eric Marsden. CMU Common Lisp is a free implementation of the Common Lisp programming language which runs on most major Unix platforms. CMU Co... |
|
|
From category: Libraries |
| Convert::PEM 0.07 is libraries software developed by Benjamin Trott. Convert::PEM is Perl module that read/write encrypted ASN.1 PEM files. SYNOPSIS use Convert::PEM; my $p... |
|
|
From category: Debuggers |
| G-Inspector 20050529 is debuggers software developed by AOSASA Shigeru. G-Inspector is a GLib(GTK+) object/class inspector. Requirements: glrr glrr-widgets What\'s New in This... |
|
|
From category: Libraries |
| Data::TreeDumper::Renderer::GTK 0.01 is libraries software developed by Khemir Nadim ibn Hamouda. Data::TreeDumper::Renderer::GTK is a Gtk2::TreeView renderer for Data::TreeDumper. SYNOPSIS\... |
|
|
From category: Libraries |
| libLAS is a BSD library for reading and writing ASPRS LAS version 1.0 and 1.1 data.... |
|
|
From category: Libraries |
| BSPonMPI 0.2 is libraries software developed by Wijnand J. Suijlen. BSPonMPI is a platform independent software library for developing parallel programs. BSPonMPI implements the BSPlib standard (wi... |
|
|
From category: Libraries |
| CGI::Application::Plugin::Authentication::Driver 0.11 is libraries software developed by Cees Hek. CGI::Application::Plugin::Authentication::Driver is a Perl base module for building driver clasees... |
|
|
From category: Libraries |
| Audio::DSP 0.02 is libraries software developed by Seth David Johnson. Audio::DSP is a Perl interface to NIX digital audio device. SYNOPSIS use Audio::DSP; ($buf, $cha... |
Leave a comment