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