[splint-discuss] Is it possible to dump static variable type information

Bill Pringlemeir splint at sympatico.ca
Thu Mar 25 10:23:55 EST 2010


On 19 Feb 2010, mvbauer at gmail.com wrote:

> I have a desire to determine the primitive type for all static variables
> in my program.* I believe that SPLINT is already parsing my variables in
> order to do type checking.* I am wondering if there is an option to dump
> this information into a file?* Any ideas are much appreciated.

There is the option '+keep' which places a pre-processed variant of
all files in 'tmp'.  'grep', 'sort', and 'uniq' can probably process
this output to get what you want.  Although, i think that the program
'ctags' already has something like this.  I would try the '-x' and
'-g' options.

hth,
Bill Pringlemeir.

-- 
Yow!  Legally-imposed CULTURE-reduction is CABBAGE-BRAINED!


More information about the splint-discuss mailing list