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