Splint Code Analyzers for C

We plan to use Splint as a code analyzer for our C code base, but we have never tried the Splint tool before, so we want your contribution to it to increase the pros and cons.

+3
source share
5 answers

Read this post and these slides to get a quick overview of what it can do for you.

+2
source

Splint , (, , , , ). Splint , ints float. Splint .

: splint hello.c.

+2

waffleman, . , , . , .

:

bar (char **output) 
{
  *output = malloc(100);
}
foo()
{
  char *output=NULL;
  bar(&output)   
}

. foo NULL . 100 .

, , . , , , . , , Splint .

+1

, . , , , .

0

Source: https://habr.com/ru/post/1758693/


All Articles