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.
Read this post and these slides to get a quick overview of what it can do for you.
Lint , , , . , . , , (, ). . , , .
SANS, : http://www.sans.org/reading_room/whitepapers/securecode/secure-software-development-code-analysis-tools_389
Splint , (, , , , ). Splint , ints float. Splint .
: splint hello.c.
splint hello.c
waffleman, . , , . , .
:
bar (char **output) { *output = malloc(100); } foo() { char *output=NULL; bar(&output) }
. foo NULL . 100 .
, , . , , , . , , Splint .
, . , , , .
Source: https://habr.com/ru/post/1758693/More articles:Каков правильный синтаксис для `.live()` привязки метода 'hover'? - jqueryView Workflow in VS 2010 - .netexample for streaming rtsp in android - androidApple Script for system settings - applescriptcreating a DSN record at runtime? - vb.netreferential integrity in rails - ruby-on-railsHow to handle activity when orientation changes? - androidStructureMap reset instance singleton - c #Add distance between two rows in a table not working in IE7 - htmlMass matrix multiplication by GPU or CPU? - sparse-matrixAll Articles