Yes, you can use splint to find unused global functions.  If you check
complete programs use the +topuse flag.  See
http://www.splint.org/manual/html/sec13.html for details.

Splint doesn't produce call trees, but +show-all-uses will display
information where all external identifiers are used.

--- Dave

On Sun, 30 Jun 2002, Torsten Mohr wrote:

> Hi everybody,
>
> i have two questions regarding splint, can i use it somehow
> to test a large project for unused code?  It must be easy to
> test for unused static functions in a file, but can it find
> unused global functions somehow?
>
> Another question, can splint generate a "calltree"?  Some
> way of visualisation which function calls which other?
>
>
> Thank you for any hints,
> Torsten.
>

Reply via email to