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