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