]> andersk Git - splint.git/blame - test/help.expect
Changed checking of complete descruction so +strictdestroy is no
[splint.git] / test / help.expect
CommitLineData
885824d3 1
2Source files are .c, .h and .lcl files. If there is no suffix,
11db3170 3 Splint will look for <file>.c and <file>.lcl.
885824d3 4
11db3170 5Use splint -help <topic or flag name> for more information
885824d3 6
7Topics:
8
9 annotations (describes source-code annotations)
10 comments (describes control comments)
11 flags (describes flag categories)
12 flags <category> (describes flags in category)
13 flags all (short description of all flags)
14 flags alpha (list all flags alphabetically)
15 flags full (full description of all flags)
16 mail (information on mailing lists)
17 modes (show mode settings)
18 parseerrors (help on handling parser errors)
19 prefixcodes (character codes in namespace prefixes)
20 references (sources for more information)
21 vars (environment variables)
22 version (information on compilation, maintainer)
23
24
11db3170 25Finished checking --- no code processed
885824d3 26
27Source files are .c, .h and .lcl files. If there is no suffix,
11db3170 28 Splint will look for <file>.c and <file>.lcl.
885824d3 29
11db3170 30Use splint -help <topic or flag name> for more information
885824d3 31
32Topics:
33
34 annotations (describes source-code annotations)
35 comments (describes control comments)
36 flags (describes flag categories)
37 flags <category> (describes flags in category)
38 flags all (short description of all flags)
39 flags alpha (list all flags alphabetically)
40 flags full (full description of all flags)
41 mail (information on mailing lists)
42 modes (show mode settings)
43 parseerrors (help on handling parser errors)
44 prefixcodes (character codes in namespace prefixes)
45 references (sources for more information)
46 vars (environment variables)
47 version (information on compilation, maintainer)
48
49
60868d40 50
15b3d2b2 51Command Line: Unrecognized option: asdf
2e127cb8 52 A flag is not recognized or used in an incorrect way (Use -badflag to inhibit
53 warning)
885824d3 54
11db3170 55Finished checking --- no code processed
885824d3 56
57Warning: setting +boolint redundant with current value
58
11db3170 59Finished checking --- no code processed
885824d3 60
61 D<initializer>
62 I<directory>
63 S<directory>
64 U<initializer>
65 abstract
66 accessall
67 accessczech
68 accessczechoslovak
69 accessfile
70 accessmodule
71 accessslovak
72 aliasunique
73 allblock
74 allempty
75 allglobs
76 allimponly
77 allmacros
15b3d2b2 78 annotationerror
885824d3 79 ansilib
80 ansilimits
81 ansireserved
82 ansireservedinternal
15b3d2b2 83 arraybounds
84 arrayboundsread
8e349e11 85 arrayread
86 arraywrite
885824d3 87 assignexpose
88 badflag
89 bitwisesigned
885824d3 90 boolcompare
91 boolfalse
92 boolint
93 boolops
94 booltrue
95 booltype
96 branchstate
8e349e11 97 bufferoverflow
15b3d2b2 98 bufferoverflowhigh
99 bugslimit
885824d3 100 casebreak
101 castexpose
102 castfcnptr
103 charindex
104 charint
105 charintliteral
106 charunsignedchar
107 checkedglobalias
108 checkmodglobalias
15b3d2b2 109 checkpost
885824d3 110 checkstrictglobalias
111 checkstrictglobs
112 codeimponly
113 commentchar
15b3d2b2 114 commenterror
885824d3 115 compdef
116 compdestroy
117 compmempass
118 constmacros
119 constprefix
120 constprefixexclude
15b3d2b2 121 constraintlocation
885824d3 122 constuse
123 continuecomment
124 controlnestdepth
125 cppnames
126 czech
127 czechconsts
128 czechfcns
129 czechmacros
130 czechoslovak
131 czechoslovakconsts
132 czechoslovakfcns
133 czechoslovakmacros
134 czechoslovaktypes
135 czechoslovakvars
136 czechtypes
137 czechvars
15b3d2b2 138 debugfcnconstraint
885824d3 139 declundef
140 deepbreak
141 deparrays
142 dependenttrans
143 distinctexternalnames
144 distinctinternalnames
145 dump
146 duplicatequals
147 elseifcomplete
148 enumindex
149 enumint
150 enummembers
151 enummemuse
152 enumprefix
153 enumprefixexclude
154 evalorder
155 evalorderuncon
156 exitarg
157 expect
158 exportany
159 exportconst
160 exportfcn
161 exportheader
162 exportheadervar
163 exportiter
164 exportlocal
165 exportmacro
166 exporttype
167 exportvar
168 exposetrans
169 externalnamecaseinsensitive
170 externalnamelen
171 externalprefix
172 externalprefixexclude
173 f
8e349e11 174 fcnconstraint
885824d3 175 fcnderef
176 fcnmacros
8e349e11 177 fcnpost
885824d3 178 fcnuse
179 fielduse
15b3d2b2 180 fileextensions
885824d3 181 filestaticprefix
182 filestaticprefixexclude
183 firstcase
184 fixedformalarray
185 floatdouble
186 forblock
187 forcehints
188 forempty
3e3ec469 189 forloopexec
885824d3 190 formalarray
191 formatcode
15b3d2b2 192 formatconst
885824d3 193 formattype
194 forwarddecl
195 freshtrans
196 fullinitblock
197 globalias
198 globalprefix
199 globalprefixexclude
200 globimponly
201 globnoglobs
202 globs
203 globsimpmodsnothing
204 globstate
205 globuse
206 gnuextensions
207 hasyield
208 help
209 hints
210 i
211 ifblock
212 ifempty
213 ignorequals
214 ignoresigns
215 immediatetrans
216 impabstract
217 impcheckedglobs
218 impcheckedspecglobs
219 impcheckedstatics
220 impcheckedstrictglobs
221 impcheckedstrictspecglobs
222 impcheckedstrictstatics
223 impcheckmodglobs
224 impcheckmodinternals
225 impcheckmodspecglobs
226 impcheckmodstatics
227 impconj
15b3d2b2 228 implementationoptional
229 implictconstraint
885824d3 230 impouts
231 imptype
232 includenest
233 incompletetype
234 incondefs
235 incondefslib
15b3d2b2 236 indentspaces
885824d3 237 infloops
238 infloopsuncon
8fe44445 239 initallelements
240 initsize
885824d3 241 internalglobs
242 internalglobsnoglobs
243 internalnamecaseinsensitive
244 internalnamelen
245 internalnamelookalike
3e3ec469 246 iterloopexec
885824d3 247 iterprefix
248 iterprefixexclude
15b3d2b2 249 its4low
250 its4moderate
251 its4mostrisky
252 its4risky
253 its4veryrisky
885824d3 254 keeptrans
255 kepttrans
256 larchpath
257 lclexpect
258 lclimportdir
259 lcs
79127b5d 260 legacy
885824d3 261 lh
262 libmacros
263 likelybool
264 limit
265 linelen
266 lintcomments
267 load
268 localprefix
269 localprefixexclude
270 longintegral
271 longsignedintegral
272 longunsignedintegral
273 longunsignedunsignedintegral
274 loopexec
275 looploopbreak
276 looploopcontinue
277 loopswitchbreak
278 macroassign
279 macroconstdecl
280 macrodecl
281 macroempty
282 macrofcndecl
283 macromatchname
284 macroparams
285 macroparens
286 macroredef
287 macrostmt
288 macrounrecog
289 macrovarprefix
290 macrovarprefixexclude
291 maintype
292 matchanyintegral
293 matchfields
294 mayaliasunique
295 memchecks
296 memimp
297 memtrans
15b3d2b2 298 misplacedsharequal
885824d3 299 misscase
300 modfilesys
301 modglobs
302 modglobsnomods
303 modglobsunchecked
304 modinternalstrict
305 modnomods
306 modobserver
307 modobserveruncon
308 mods
309 modsimpnoglobs
310 modstrictglobsnomods
311 moduncon
312 modunconnomods
313 modunspec
15b3d2b2 314 mts
315 multithreaded
885824d3 316 mustdefine
317 mustfree
2e127cb8 318 mustfreefresh
319 mustfreeonly
885824d3 320 mustmod
321 mustnotalias
322 mutrep
323 namechecks
324 needspec
325 nestcomment
326 nestedextern
327 neverinclude
328 newdecl
329 newreftrans
330 nextlinemacros
331 noaccess
332 nocomments
333 noeffect
334 noeffectuncon
335 nof
336 nolib
337 noparams
338 noret
339 null
340 nullassign
341 nullderef
342 nullpass
343 nullptrarith
344 nullret
345 nullstate
8e349e11 346 nullterminated
347 nullterminated
885824d3 348 numenummembers
349 numliteral
350 numstructfields
351 observertrans
3e3ec469 352 obviousloopexec
885824d3 353 oldstyle
354 onlytrans
355 onlyunqglobaltrans
15b3d2b2 356 orconstraint
885824d3 357 overload
358 ownedtrans
359 paramimptemp
360 paramuse
15b3d2b2 361 parenconstraint
885824d3 362 parenfileformat
363 partial
364 passunknown
1d239d69 365 portability
885824d3 366 posixlib
367 posixstrictlib
368 predassign
369 predbool
370 predboolint
371 predboolothers
372 predboolptr
373 protoparammatch
374 protoparamname
375 protoparamprefix
376 protoparamprefixexclude
377 ptrarith
378 ptrcompare
379 ptrnegate
380 quiet
381 readonlystrings
382 readonlytrans
383 realcompare
384 redecl
385 redef
15b3d2b2 386 redundantsharequal
885824d3 387 refcounttrans
388 relaxquals
389 relaxtypes
390 repeatunrecog
391 repexpose
392 retalias
393 retexpose
394 retimponly
395 retval
396 retvalbool
397 retvalint
398 retvalother
399 sefparams
400 sefuncon
401 shadow
402 sharedtrans
a956d444 403 shiftimplementation
404 shiftnegative
885824d3 405 showallconjs
406 showalluses
407 showcolumn
408 showfunc
409 showscan
410 showsummary
411 singleinclude
412 sizeofformalarray
413 sizeoftype
414 skipansiheaders
415 skipposixheaders
416 skipsysheaders
1f11dead 417 slashslashcomment
885824d3 418 slovak
419 slovakconsts
420 slovakfcns
421 slovakmacros
422 slovaktypes
423 slovakvars
424 specglobimponly
425 specimponly
426 specmacros
427 specretimponly
428 specstructimponly
429 specundecl
430 specundef
431 stackref
15b3d2b2 432 statemerge
433 statetransfer
885824d3 434 staticinittrans
435 statictrans
436 stats
437 strictbranchstate
438 strictdestroy
439 strictlib
440 strictops
441 strictusereleased
442 stringliterallen
8fe44445 443 stringliteralnoroom
444 stringliteralsmaller
445 stringliteraltoolong
885824d3 446 structimponly
447 supcounts
15b3d2b2 448 superuser
885824d3 449 switchloopbreak
450 switchswitchbreak
451 syntax
452 sysdirerrors
453 sysdirexpandmacros
454 sysdirs
455 sysunrecog
456 tagprefix
457 tagprefixexclude
458 temptrans
459 timedist
460 tmpcomments
461 tmpdir
15b3d2b2 462 toctou
885824d3 463 topuse
464 trytorecover
465 type
466 typeprefix
467 typeprefixexclude
468 typeuse
469 uncheckedglobalias
470 uncheckedmacroprefix
471 uncheckedmacroprefixexclude
472 uniondef
473 unixlib
1d239d69 474 unixstandard
885824d3 475 unixstrictlib
476 unqualifiedinittrans
477 unqualifiedtrans
478 unreachable
479 unrecog
480 unrecogcomments
15b3d2b2 481 unrecogflagcomments
4c9767b3 482 unrecognizeddirective
1d239d69 483 unsignedcompare
885824d3 484 unusedspecial
485 usedef
486 usereleased
487 usestderr
488 usevarargs
489 varuse
490 voidabstract
491 warnflags
492 warnlintcomments
493 warnmissingglobs
494 warnmissingglobsnoglobs
495 warnposixheaders
60868d40 496 warnrc
885824d3 497 warnunixlib
15b3d2b2 498 warnuse
885824d3 499 whichlib
500 whileblock
501 whileempty
3e3ec469 502 whileloopexec
cc78dedd 503 zerobool
885824d3 504
505
885824d3 506likelybool --- type name is probably a boolean type but does not match default
507boolean type name, "bool", and alternate name is not set
508impabstract --- assume user type definitions are abstract (unless
509/*@concrete@*/ is used)
510accessall --- set accessmodule, accessfile and accessczech
511accessmodule --- allow access to abstract types in definition module
512accessfile --- allow access to abstract types by file name convention
513accessczech --- allow access to abstract types by czech naming convention
514accessslovak --- allow access to abstract types by slovak naming convention
515accessczechoslovak --- allow access to abstract types by czechoslovak naming
516convention
517abstract --- data abstraction barriers
518mutrep --- representation of mutable type has sharing semantics
519globalias --- function returns with global aliasing external state (sets
520checkstrictglobalias, checkedglobalias, checkmodglobalias and
521uncheckedglobalias)
522checkstrictglobalias --- function returns with a checkstrict global aliasing
523external state
524checkedglobalias --- function returns with a checked global aliasing external
525state
526checkmodglobalias --- function returns with a checkmod global aliasing external
527state
528uncheckedglobalias --- function returns with an unchecked global aliasing
529external state
530aliasunique --- unique parameter is aliased
531mayaliasunique --- unique parameter may be aliased
532mustnotalias --- temp storage aliased at return point or scope exit
533retalias --- function returns alias to parameter or global
534noparams --- function declaration has no parameter list
535oldstyle --- old style function definition
536gnuextensions --- support some gnu (gcc) language extensions
537usevarargs --- non-standard <varargs.h> included
538warnposixheaders --- a POSIX header is included, but the POSIX library is not
539used
540exitarg --- argument to exit has implementation defined behavior
541evalorder --- code has unspecified or implementation-dependent behavior because
542of order of evaluation
543evalorderuncon --- code involving call to unspecified function has undefined or
544implementation-dependent behavior
545boolfalse --- set name of boolean false (default FALSE)
546booltype --- set name of boolean type (default bool)
547booltrue --- set name of boolean true (default TRUE)
548noaccess --- ignore access comments
549nocomments --- ignore all stylized comments
550unrecogcomments --- stylized comment is unrecognized
15b3d2b2 551unrecogflagcomments --- stylized flag comment uses an unrecognized flag
885824d3 552continuecomment --- line continuation marker (\) in comment before */ on same
553line
1f11dead 554slashslashcomment --- C++ style // comment
885824d3 555nestcomment --- comment begins inside comment
556tmpcomments --- interpret t comments (ignore errors in lines marked with
557/*@t<n>@*/
558lintcomments --- interpret traditional lint comments (/*FALLTHROUGH*/,
559/*NOTREACHED*/)
560warnlintcomments --- print a warning and suggest an alternative when a
561traditional lint comment is used
562declundef --- function or variable declared but never defined
563specundef --- function or variable specified but never defined
564specundecl --- function or variable specified but never declared in a source
565file
3e3ec469 566loopexec --- assume all loops execute at least once (sets forloopexec,
567whileloopexec and iterloopexec)
568forloopexec --- assume all for loops execute at least once
569whileloopexec --- assume all while loops execute at least once
570iterloopexec --- assume all iterator loops execute at least once
571obviousloopexec --- assume loop that can be determined to always execute always
572does
885824d3 573infloops --- likely infinite loop is detected
574infloopsuncon --- likely infinite loop is detected (may result from
575unconstrained function)
576deepbreak --- break inside nested while or for or switch
577looploopbreak --- break inside nested while or for
578switchloopbreak --- break in loop inside switch
579loopswitchbreak --- break in switch inside loop
580switchswitchbreak --- break in switch inside switch
581looploopcontinue --- continue inside nested loop
582unreachable --- unreachable code detected
583whileempty --- a while statement has no body
584whileblock --- the body of a while statement is not a block
585forempty --- a for statement has no body
586forblock --- the body of a for statement is not a block
587ifempty --- an if statement has no body
588ifblock --- the body of an if statement is not a block
589allempty --- an if, while or for statement has no body (sets ifempty,
590whileempty and forempty
591allblock --- the body of an if, while or for statement is not a block (sets
592ifblock, whileblock and forblock)
593elseifcomplete --- if ... else if chains must have final else
594noret --- path with no return detected in non-void function
595casebreak --- non-empty case in a switch without preceding break
596misscase --- switch on enum type missing case for some value
597firstcase --- first statement in switch is not a case
598shadow --- declaration reuses name visible in outer scope
599incondefslib --- function, variable or constant defined in a library is
600redefined with inconsistent type
601overload --- library function overloaded
602nestedextern --- an extern declaration is inside a function scope
603redecl --- function or variable redeclared
604redef --- function or variable redefined
605incondefs --- function, variable or constant redefined with inconsistent type
606imptype --- variable declaration has unknown (implicitly int) type
607matchfields --- struct or enum type redefined with inconsistent fields or
608members
609usedef --- use before definition
610impouts --- pointer parameters to unspecified functions may be implicit out
611parameters
612tmpdir --- set directory for writing temp files
613larchpath --- set path for searching for library files (overrides LARCH_PATH
614environment variable)
615lclimportdir --- set directory to search for LCL import files (overrides
616LCLIMPORTDIR)
617sysdirs --- set directories for system files (default /usr/include). Separate
15b3d2b2 618directories with path separator (colons in Unix, semi-colons in Windows). Flag
619settings propagate to files in a system directory. If -sysdirerrors is set, no
620errors are reported for files in system directories.
885824d3 621skipansiheaders --- prevent inclusion of header files in a system directory
622with names that match standard ANSI headers. The symbolic information in the
623standard library is used instead. Flag in effect only if a library including
624the ANSI library is loaded. The ANSI headers are:
625assert, ctype, errno, float, limits, locale, math, setjmp, signal, stdarg,
626stddef, stdio, stdlib, strings, string, time, and wchar.
627skipposixheaders --- prevent inclusion of header files in a system directory
628with names that match standard POSIX headers. The symbolic information in the
629posix library is used instead. The POSIX headers are:
630dirent, fcntl, grp, pwd, termios, sys/stat, sys/times, sys/types, sys/utsname,
631sys/wait, unistd, and utime.
632sysdirerrors --- report errors in files in system directories (set by -sysdirs)
633sysdirexpandmacros --- expand macros in system directories regardless of other
634settings, except for macros corresponding to names defined in a load library
635I<directory> --- add to C include path
636S<directory> --- add to spec path
637quiet --- suppress herald and error count
638usestderr --- send error messages to standard error (instead of standard out)
639showsummary --- show summary of all errors reported and suppressed
640showscan --- show file names are they are processed
641stats --- display lines processed and time
642timedist --- display time distribution
643showalluses --- show sorted list of uses of all globals
644noeffect --- statement with no effect
645noeffectuncon --- statement with no effect (except possibly through call to
646unconstrained function)
647exportany --- variable, function or type exported but not specified
648exportfcn --- function exported but not specified
649exportmacro --- expanded macro exported but not specified
650exporttype --- type definition exported but not specified
651exportvar --- variable exported but not specified
652exportconst --- constant exported but not specified
653exportiter --- constant exported but not specified
654repexpose --- abstract representation is exposed (sets assignexpose, retexpose,
655and castexpose)
656retexpose --- abstract representation is exposed (return values only)
657assignexpose --- abstract representation is exposed (assignments only)
658castexpose --- abstract representation is exposed through a cast
659linelen --- set length of messages (number of chars)
15b3d2b2 660indentspaces --- set number of spaces to indent sub-messages
885824d3 661showcolumn --- show column number where error is found
662parenfileformat --- show column number where error is found
663showfunc --- show name of function containing error
664showallconjs --- show all possible types
665impconj --- make all alternate types implicit (useful for making system
666libraries
667expect --- expect <int> code errors
668lclexpect --- expect <int> spec errors
669partial --- check as partial system (-specundef, -declundef, -exportlocal,
670don't check macros in headers without corresponding .c files)
671globs --- undocumented use of a checked global variable
672globuse --- global listed for a function not used
673internalglobs --- use of internalState
674internalglobsnoglobs --- use of internalState (in function with no globals
675list)
676warnmissingglobs --- global variable used in modifies clause is not listed in
677globals list
678warnmissingglobsnoglobs --- global variable used in modifies clause in a
679function with no globals list
680globnoglobs --- use of checked global in a function with no globals list or
681specification
682allglobs --- report use and modification errors for globals not annotated with
683unchecked
684checkstrictglobs --- report use and modification errors for checkedstrict
685globals
686impcheckedspecglobs --- assume checked qualifier for unqualified global
687declarations in .lcl files
688impcheckmodspecglobs --- assume checkmod qualifier for unqualified global
689declarations in .lcl files
690impcheckedstrictspecglobs --- assume checkmod qualifier for unqualified global
691declarations in .lcl files
692impcheckedglobs --- assume checked qualifier for unqualified global
693declarations
694impcheckmodglobs --- assume checkmod qualifier for unqualified global
695declarations
696impcheckedstrictglobs --- assume checkedstrict qualifier for unqualified global
697declarations
698impcheckedstatics --- assume checked qualifier for unqualified file static
699declarations
700impcheckmodstatics --- assume checkmod qualifier for unqualified file static
701declarations
702impcheckmodinternals --- assume checkmod qualifier for unqualified local static
703declarations (for internal state modifications)
704impcheckedstrictstatics --- assume checkedstrict qualifier for unqualified file
705static declarations
706modglobs --- undocumented modification of a checked global variable
707modglobsnomods --- undocumented modification of a checked global variable in a
708function declared with no modifies clause
709modstrictglobsnomods --- undocumented modification of a strict checked global
710variable in a function declared with no modifies clause
711modglobsunchecked --- undocumented modification of an unchecked checked global
712variable
713lh --- generate .lh files
714lcs --- generate .lcs files
715singleinclude --- optimize header inclusion to eliminate redundant includes
716neverinclude --- optimize header inclusion to not include any header files
717skipsysheaders --- do not include header files in system directories (set by
718-sysdirs)
60868d40 719warnflags --- warn when command line sets flag in abnormal way
720warnrc --- warn when there are problems with reading the initialization files
885824d3 721warnunixlib --- warn when the unix library is used
15b3d2b2 722badflag --- warn about bad command line flags
60868d40 723forcehints --- provide a hint for every warnings
885824d3 724help --- -help <flags> will describe flags
60868d40 725hints --- provide a hint the first time a particular warning appears
885824d3 726retval --- return value ignored (sets retvalint, retvalbool and retvalother)
727retvalother --- return value of type other than bool or int ignored
cc78dedd 728retvalbool --- return value of manifest type bool ignored
885824d3 729retvalint --- return value of type int ignored
60868d40 730f --- read an options file (default ~/.splintrc not loaded)
885824d3 731i --- set LCL initilization file
732nof --- do not read options file
733needspec --- information in specifications is not also included in syntactic
734comments
735newdecl --- report new global declarations in source files
736hasyield --- iter declaration has no yield parameters
737dump --- save state for merging (default suffix .lcd)
738load --- load state from dump file (default suffix .lcd)
739nolib --- do not load standard library
740ansilib --- use ANSI (ISO) standard library
741strictlib --- interpret standard library strictly
742unixlib --- use UNIX (sort-of) standard library
743unixstrictlib --- use strict version of UNIX (sort-of) library
744posixlib --- use POSIX standard library
745posixstrictlib --- use strict POSIX standard library
746whichlib --- show standard library filename
15b3d2b2 747mts --- load meta state declaration and corresponding xh file
885824d3 748commentchar --- set marker character for syntactic comments (default is '@')
749allmacros --- sets fcnmacros and constmacros
750libmacros --- check all macros with declarations in library as functions
751specmacros --- check all macros corresponding to specified functions or
752constants
753fcnmacros --- check all macros with parameter lists as functions
754constmacros --- check all macros without parameter lists as constants
755macromatchname --- macro definition does not match iter or constant declaration
756nextlinemacros --- the line after a constant or iter declaration must be a
757macro definition
758macrostmt --- macro definition is syntactically not equivalent to function
759macroempty --- macro definition for is empty
760macroparams --- macro parameter not used exactly once
761macroassign --- assignment to a macro parameter
762sefparams --- a parameter with side-effects is passed as a sef parameter
763sefuncon --- a parameter with unconstrained side-effects is passed as a sef
764parameter
765macroparens --- macro parameter used without parentheses (in potentially
766dangerous context)
767macrodecl --- macro without prototype or specification (sets macrofcndecl and
768macroconstdecl)
769macrofcndecl --- parameterized macro without prototype or specification
770macroconstdecl --- non-parameterized macro without prototype or specification
771macroredef --- macro redefined
772macrounrecog --- unrecognized identifier in macro
773stackref --- external reference to stack-allocated storage is created
774usereleased --- storage used after release
775strictusereleased --- element used after it may have been released
776compdef --- parameter, return value or global completely defined
777compmempass --- actual parameter matches alias kind of formal parameter
778completely
779mustdefine --- out storage not defined before return or scope exit
780uniondef --- at least one field of a union must be defined
781memimp --- memory errors for unqualified storage
782paramimptemp --- assume unannotated parameter is temp
783allimponly --- sets globimponly, retimponly, structimponly, specglobimponly,
784specretimponly and specstructimponly
785codeimponly --- sets globimponly, retimponly and structimponly
786specimponly --- sets specglobimponly, specretimponly and specstructimponly
787globimponly --- assume unannotated global storage is only
788retimponly --- assume unannotated returned storage is only
789structimponly --- assume unannotated structure field is only
790specglobimponly --- assume unannotated global storage is only
791specretimponly --- assume unannotated returned storage is only
792specstructimponly --- assume unannotated structure field is only
793deparrays --- array elements are dependent storage
794compdestroy --- all only references derivable from void pointer out only
795parameter are released
796strictdestroy --- report complete destruction errors for array elements that
797may have been released
2e127cb8 798mustfreefresh --- freshly allocated storage not released before return or scope
799exit
800mustfreeonly --- only storage not released before return or scope exit
801mustfree --- fresh or only storage not released before return or scope exit
802(sets mustfreefresh and mustfreeonly)
885824d3 803branchstate --- storage has inconsistent states of alternate paths through a
804branch
805strictbranchstate --- storage through array fetch has inconsistent states of
806alternate paths through a branch
807memchecks --- sets all dynamic memory checking flags (memimplicit, mustfree,
808mustdefine, mustnotalias, null, memtrans)
809memtrans --- memory transfer errors (sets all *trans flags)
810exposetrans --- exposure transfer errors
811observertrans --- observer transfer errors
812dependenttrans --- dependent transfer errors
813newreftrans --- new reference transfer to reference counted reference
814onlytrans --- only storage transferred to non-only reference (memory leak)
815onlyunqglobaltrans --- only storage transferred to an unqualified global or
816static reference (memory leak)
817ownedtrans --- owned storage transferred to non-owned reference (memory leak)
818freshtrans --- fresh storage transferred to non-only reference (memory leak)
819sharedtrans --- shared storage transferred to non-shared reference
820temptrans --- temp storage transferred to non-temporary reference
821kepttrans --- kept storage transferred to non-temporary reference
822keeptrans --- keep storage transferred inconsistently
823immediatetrans --- an immediate address (result of &) is transferred
824inconsistently
825refcounttrans --- reference counted storage is transferred in an inconsistent
826way
827statictrans --- static storage is transferred in an inconsistent way
828unqualifiedtrans --- unqualified storage is transferred in an inconsistent way
829staticinittrans --- static storage is used as an initial value in an
830inconsistent way
831unqualifiedinittrans --- unqualified storage is used as an initial value in an
832inconsistent way
833readonlystrings --- string literals are read-only (error if one is modified or
834released)
835readonlytrans --- report memory transfer errors for initializations to
836read-only string literals
837passunknown --- passing a value as an un-annotated parameter clears its
838annotation
839mods --- unspecified modification of caller-visible state
840mustmod --- specified modification is not detected
841modobserver --- possible modification of observer storage
842modobserveruncon --- possible modification of observer storage through
843unconstrained call
844modinternalstrict --- possible modification of internal storage through
845function call
846modfilesys --- report undocumented file system modifications (applies to
847unspecified functions if modnomods is set)
848modunspec --- modification in unspecified functions (sets modnomods,
849modglobunspec and modstrictglobsunspec)
850modnomods --- modification in a function with no modifies clause
851moduncon --- possible modification through a call to an unconstrained function
852modunconnomods --- possible modification through a call to an unconstrained
853function in a function with no modifies clause
854globsimpmodsnothing --- functions declared with a globals list but no modifies
855clause are assumed to modify nothing
856modsimpnoglobs --- functions declared with a modifies clause but no globals
857list are assumed to use no globals
858namechecks --- controls name checking without changing other settings
859czech --- czech naming convention (sets accessczech, czechfunctions, czechvars,
860czechconstants, czechenums, and czechmacros)
861czechfcns --- czech naming convention violated in a function or iterator
862declaration
863czechvars --- czech naming convention violated in a variable declaration
864czechmacros --- czech naming convention violated in an expanded macro name
865czechconsts --- czech naming convention violated in a constant declaration
866czechtypes --- czech naming convention violated in a user-defined type
867definition
868slovak --- slovak naming convention violated
869slovakfcns --- slovak naming convention violated in a function or iterator
870declaration
871slovakmacros --- slovak naming convention violated in an expanded macro name
872slovakvars --- slovak naming convention violated in a variable declaration
873slovakconsts --- slovak naming convention violated in a constant declaration
874slovaktypes --- slovak naming convention violated in a use-defined type
875definition
876czechoslovak --- czech or slovak naming convention violated
877czechoslovakfcns --- czechoslovak naming convention violated in a function or
878iterator declaration
879czechoslovakmacros --- czechoslovak naming convention violated in an expanded
880macro name
881czechoslovakvars --- czechoslovak naming convention violated in a variable
882declaration
883czechoslovakconsts --- czechoslovak naming convention violated in a constant
884declaration
885czechoslovaktypes --- czechoslovak naming convention violated in a user-defined
886type definition
887ansireserved --- external name conflicts with name reserved for system or
888standard library
889cppnames --- external or internal name is a C++ keyword or reserved word
890ansireservedinternal --- internal name conflicts with name reserved for system
891or standard library
892distinctexternalnames --- external name is not distinguishable from another
893external name using the number of significant characters
894externalnamelen --- set the number of significant characters in an external
895name
896externalnamecaseinsensitive --- alphabetic comparisons for external names are
897case-insensitive
898distinctinternalnames --- internal name is not distinguishable from another
899internal name using the number of significant characters
900internalnamelen --- set the number of significant characters in an internal
901name
902internalnamecaseinsensitive --- set whether case is significant an internal
903names (-internalnamecaseinsensitive means case is significant)
904internalnamelookalike --- lookalike characters match in internal names
905macrovarprefix --- set namespace prefix for variables declared in a macro body
906macrovarprefixexclude --- the macrovarprefix may not be used for non-macro
907variables
908tagprefix --- set namespace prefix for struct, union and enum tags
909tagprefixexclude --- the tagprefix may not be used for non-tag identifiers
910enumprefix --- set namespace prefix for enum members
911enumprefixexclude --- the enumprefix may not be used for non-enum member
912identifiers
913filestaticprefix --- set namespace prefix for file static declarations
914filestaticprefixexclude --- the filestaticprefix may not be used for
915identifiers that are not file static
916globalprefix --- set namespace prefix for global variables
917globalprefixexclude --- the globalprefix may not be used for non-global
918identifiers
919typeprefix --- set namespace prefix for user-defined types
920typeprefixexclude --- the typeprefix may not be used for identifiers that are
921not type names
922externalprefix --- set namespace prefix for external identifiers
923externalprefixexclude --- the externalprefix may not be used for non-external
924identifiers
925localprefix --- set namespace prefix for local variables
926localprefixexclude --- the localprefix may not be used for non-local
927identifiers
928uncheckedmacroprefix --- set namespace prefix for unchecked macros
929uncheckedmacroprefixexclude --- the uncheckmacroprefix may not be used for
930identifiers that are not unchecked macros
931constprefix --- set namespace prefix for constants
932constprefixexclude --- the constprefix may not be used for non-constant
933identifiers
934iterprefix --- set namespace prefix for iterators
935iterprefixexclude --- the iterprefix may not be used for non-iter identifiers
936protoparamprefix --- set namespace prefix for parameters in function prototype
937declarations
938protoparamname --- a parameter in a function prototype has a name
939protoparammatch --- the name of a parameter in a function prototype and
940corresponding declaration must match (after removing the protoparamprefix
941protoparamprefixexclude --- the protoparamprefix may not be used for
942non-declaraction parameter identifiers
943controlnestdepth --- set maximum nesting depth of compound statements,
944iteration control structures, and selection control structures (ANSI minimum is
94515)
946stringliterallen --- set maximum length of string literals (ANSI minimum is
947509)
948numstructfields --- set maximum number of fields in a struct or union (ANSI
949minimum is 127)
950numenummembers --- set maximum number of members of an enum (ANSI minimum is
951127)
952includenest --- set maximum number of nested #include files
953ansilimits --- check for violations of standard limits (controlnestdepth,
954stringliterallen, includenest, numstructfields, numenummembers)
955null --- misuses of null pointer
8e349e11 956nullterminated --- misuse of nullterminated allocation
8e349e11 957arrayread --- possible out of bounds read
958arraywrite --- possible buffer overflow from an out of bounds write
959fcnpost --- Function has the post condition
15b3d2b2 960parenconstraint --- parenthesize constraint term
961debugfcnconstraint --- debuging constraint flas
962arraybounds --- Possible out-of-bounds store. Unable to resolve constraint:
963arrayboundsread --- Possible out-of-bounds read. Unable to resolve constraint:
8e349e11 964fcnconstraint --- unresolved constraint
15b3d2b2 965checkpost --- unable to verify ensures annotation
966constraintlocation --- display full c expression for every constraint generated
967implictconstraint --- Try to generate implicit constraints for functions
968orconstraint --- Use limited OR expressions to resolve constraints
8e349e11 969nullterminated --- misuse of nullterminated allocation
885824d3 970nullderef --- possible dereferencce of null pointer
971fcnderef --- dereferencce of a function type
972nullpass --- possibly null pointer passed as formal with no null annotation
973nullret --- possibly null pointer returned as result with no null annotation
974nullstate --- possibly null pointer reachable from a reference with no null
975annotation
976nullassign --- inconsistent assignment or initialization involving null pointer
977boolcompare --- comparison between bools (dangerous because of multiple TRUE
978values)
979realcompare --- dangerous comparison between reals (dangerous because of
980inexact floating point representations)
1d239d69 981unsignedcompare --- comparison using <, <=, >= between an unsigned integral and
982zero constant
885824d3 983ptrarith --- arithmetic involving pointer and integer
984nullptrarith --- arithmetic involving possibly null pointer and integer
985ptrcompare --- comparison between pointer and number
986strictops --- primitive operation does not type check strictly
987bitwisesigned --- a bitwise logical operator does not have unsigned operands
a956d444 988shiftnegative --- a shift right operand may be negative
989shiftimplementation --- a shift left operand may be negative
885824d3 990boolops --- primitive operation (!, && or ||) does not has a boolean argument
991ptrnegate --- allow ! to be used on pointer operand
992sizeoftype --- sizeof operator has a type argument
993sizeofformalarray --- sizeof operator has an array formal parameter argument
994fixedformalarray --- formal parameter of type array is declared with size
995incompletetype --- formal parameter has an incomplete type
996formalarray --- formal parameter is an array
997predassign --- condition test (if, while or for) is an assignment
998predbool --- type of condition test (if, while or for) not bool (sets
999predboolint, predboolptr and predboolothers)
1000predboolint --- type of condition test (if, while or for) is an integral type
1001predboolothers --- type of condition test (if, while or for) not bool, int or
1002pointer
1003predboolptr --- type of condition test (if, while or for) is a pointer
1004D<initializer> --- passed to pre-processor
1005U<initializer> --- passed to pre-processor
4c9767b3 1006unrecognizeddirective --- unrecognized pre-processor directive
885824d3 1007globstate --- returns with global in inconsistent state (null or undefined)
1008supcounts --- The number of errors detected does not match number in
1009/*@i<n>@*/.
1010limit --- limit <int> consecutive repeated errors
1011syntax --- syntax error in parsing
1012trytorecover --- try to recover from parse error
1013type --- type mismatch
1014fullinitblock --- initializer sets all fields
8fe44445 1015initallelements --- initializer defines all array elements
1016initsize --- initializer defines extra array elements
1017stringliteraltoolong --- string literal too long for character array
1018stringliteralnoroom --- string literal leaves no room for null terminator
1019stringliteralsmaller --- string literal is smaller than the char array it is
1020assigned to
885824d3 1021enummembers --- enum members must be int values
1022maintype --- type of main does not match expected type
1023formattype --- type-mismatch in parameter corresponding to format code in a
1024printf or scanf-like function
15b3d2b2 1025formatconst --- format parameter is not a string constant (hence variable
1026arguments cannot be typechecked)
885824d3 1027formatcode --- invalid format code in format string for printf or scanf-like
1028function
1029forwarddecl --- forward declarations of pointers to abstract representation
1030match abstract type
1031voidabstract --- void * matches pointers to abstract types, casting ok
1032(dangerous)
1033castfcnptr --- a pointer to a function is cast to a pointer to void (or vice
1034versa)
1035charindex --- char can be used to index arrays
1036enumindex --- enum can be used to index arrays
1037boolint --- bool and int are equivalent
1038charint --- char and int are equivalent
1039enumint --- enum and int are equivalent
1040floatdouble --- float and double are equivalent
1041ignorequals --- ignore type qualifiers (long, short, unsigned)
1042duplicatequals --- report duplicate type qualifiers (e.g., long long)
1043ignoresigns --- ignore signs in type comparisons (unsigned matches signed)
1044numliteral --- int literals can be reals
1045charintliteral --- character constants (e.g., 'a') can be used as ints
1046relaxquals --- report qualifier mismatches only if dangerous
1047relaxtypes --- allow all numeric types to match
1048charunsignedchar --- allow char and unsigned char types to match
1049matchanyintegral --- allow any intergral type to match an arbitrary integral
1050type (e.g., dev_t)
1051longunsignedintegral --- allow long unsigned type to match an arbitrary
1052integral type (e.g., dev_t)
1053longintegral --- allow long type to match an arbitrary integral type (e.g.,
1054dev_t)
1055longunsignedunsignedintegral --- allow long unsigned type to match an arbitrary
1056unsigned integral type (e.g., size_t)
1057longsignedintegral --- allow long type to match an arbitrary signed integral
1058type (e.g., ssize_t)
1059zeroptr --- 0 is treated as a pointer
cc78dedd 1060zerobool --- 0 is treated as a boolean
885824d3 1061repeatunrecog --- do not suppress repeated unrecognized identifier messages
1062(instead of only reporting the first error)
1063sysunrecog --- report unrecognized identifiers with system (__) prefix
1064unrecog --- unrecognized identifier
1065topuse --- declaration at top level not used
1066exportlocal --- a declaration is exported but not used outside this module
1067exportheader --- a declaration is exported but does not appear in a header file
1068exportheadervar --- a variable declaration is exported but does not appear in a
1069header file
1070fielduse --- field of structure type not used
1071enummemuse --- member of an enum type not used
1072constuse --- constant declared but not used
1073fcnuse --- function declared but not used
1074paramuse --- function parameter not used
1075typeuse --- type declared but not used
1076varuse --- variable declared but not used
1077unusedspecial --- unused declaration in special file (corresponding to .l or .y
1078file)
15b3d2b2 1079redundantsharequal --- declaration uses observer qualifier that is always true
1080misplacedsharequal --- declaration of unsharable storage uses sharing
1081annotation
1082annotationerror --- annotation is used in inconsistent location
1083commenterror --- inconsistent syntactic comment
1084bugslimit --- set maximum number of bugs detected before giving up
1085fileextensions --- warn when command line file does not have a recognized
1086extension
1087warnuse --- warn when declaration marked with warn is used
1088statetransfer --- storage has been transfered with invalid state
1089statemerge --- control paths merge with storage in incompatible states
1090its4mostrisky --- most risky security vulnerabilities (from its4 database)
1091its4veryrisky --- very risky security vulnerabilities (from its4 database)
1092its4risky --- risky security vulnerabilities (from its4 database)
1093its4moderate --- moderately risky security vulnerabilities (from its4 database)
1094its4low --- risky security vulnerabilities (from its4 database)
1095bufferoverflowhigh --- likely buffer overflow vulnerability
1096bufferoverflow --- possible buffer overflow vulnerability
1097toctou --- possible time of check, time of use vulnerability
1098multithreaded --- function is not reentrant
1d239d69 1099portability --- function may have undefined behavior
1100unixstandard --- function is not required in Standard UNIX Specification
15b3d2b2 1101superuser --- function is restricted to superusers
1102implementationoptional --- declarator is implementation optional (ISO99 does
1103not require an implementation to provide it)
79127b5d 1104legacy --- legacy declaration in Unix Standard
885824d3 1105
This page took 0.565866 seconds and 5 git commands to generate.