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