/usr/share/doc/splint/examples/splint.splintrc is in splint 3.1.2.dfsg1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | -IHeaders
-DDEBUGPRINT
-systemdirs /usr/include:/usr/local/lib/:/usr/lib
+allmacros # check all macros
+checks # checks mode (moderately strict checking)
### Display Flags
-locindentspaces 0
+showdeephistory
+showscan
+showsummary
+stats
+timedist
+charindex
-allglobals
-export
+voidabstract
+forwarddecl
+relaxquals
+allmacros
### Assume all while and for loops execute at least once
+loopexec
### Naming Convention
+czech
-czechconstants
-enumprefix ~~*
-uncheckedmacroprefix ~*
### global variables should start with g_
-globalprefix g_
+globalprefixexclude
### parameters in declarations should start with p_
-protoparamprefix p_
+protoparamprefixexclude
### these flags slow down checking a lot,
### only use on special occasions.
###
+distinctinternalnames -internalnamecaseinsensitive
+internalnamelookalike
# -externalnamelen 24
+sizeoftype
+repeatunrecog
+topuse
+deepbreak
+needspec
+evalorderuncon
-mustmod
+iso99limits
+allempty
+whileblock
+forblock
+elseifcomplete
### Limit maximimum include nesting
-includenest 5
+posixlib
### this should be builtin to pp?
-D__i386__
-D_M_IX86
-booltype bool
-booltrue TRUE
-boolfalse FALSE
+numliteral
+numabstractindex
+numabstractlit
-numabstractprint
-indentspaces 3
#drl add 11-15-2001
+slashslashcomment
|