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