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