summaryrefslogtreecommitdiff
path: root/.splintrc
blob: ede7c794394e71bb60daf848f324eba5ac9c6416 (plain)
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
-I. -I./build -I./lib -I./rpmdb -I./rpmio -I./beecrypt -I./lua/include -I./lua/local -I./file -I./popt -I./elfutils/libelf -I./zlib -I/usr/lib/gcc-lib/i386-redhat-linux/3.1/include -DHAVE_CONFIG_H -D_GNU_SOURCE -D_REENTRANT -DHAVE_DEV_DSP -DHAVE_SYS_SOUNDCARD

#+partial
+forcehints

#-warnunixlib
-warnposix

+unixlib

-unrecogcomments	# XXX ignore doxygen markings

+strict			# lclint level

# --- in progress
+likelybounds
+slovak-fcns
+access-slovak
-redecl
-bufferoverflowhigh
-whileempty

-macroparams
-declundef
-enummemuse
-fcnuse
-typeuse
-varuse

# --- not-yet at strict level
-bitwisesigned		# pita
-elseifcomplete		# 95 occurences
-exportconst		# 839 occurences
-exportfcn
-exporttype
-exportvar
-fielduse		# 1 occurence <bits/sigset.h>
-forblock		# tedious
-ifblock		# tedious
-namechecks		# tedious ANSI compliance checks
-ptrarith		# tedious

-compdestroy
-mustdefine
-sys-dir-errors

-strictops
-whileblock		# tedious

# --- random anal-retentive parameters
#+mod-internal-strict
#+globnoglobs		# 1 occurence
#+internalglobnoglobs		# ???
#+modglobsunchecked	# 73 occurences
#+warnmissingglobsnomods	# ???
#+strictbranchstate
#+strictdestroy
#+ansi-reserved-internal
#controlnestdepth 15

# --- not-yet at checks level
-ansi-reserved		# goofy
+enumint		# 93 occurences
-mustfree		# 1612 occurences, _free and alloca are painful
-predboolptr		# 773 occurences
-usedef			# 303 occurences, HGE_t needs work

# --- not-yet at standard level
-boolops		# 1898 occurences
-predboolint		# 1248 occurences
+boolint		# 74 occurences
+charint		# 529 occurences
+ignorequals		# 138 occurences
+matchanyintegral	# 225 occurences