]> andersk Git - splint.git/blame - test/Makefile.am
Got gmake dist to work
[splint.git] / test / Makefile.am
CommitLineData
8fe44445 1## This file currently uses GNU Make features; those should really be replaced
2## by configure-time handling.
3
4AUTOMAKE_OPTIONS = 1.5 foreign
5
6## Use this to configure diff output
2e127cb8 7DIFFFLAGS =
8
9# -u show context
8fe44445 10
ce956ce0 11#drl 3/27/2002 get the test suit to print a warning when splint is built under /usr/
12
13
11db3170 14## Set up the splint commands
8fe44445 15
6fcd0b1e 16#SPLINT = valgrind --leak-resolution=high --num-callers=20 --show-reachable=no --leak-check=no $(top_builddir)/src/splint$(EXEEXT)
ce956ce0 17SPLINT = $(top_builddir)/src/splint$(EXEEXT)
a469ccf0 18
2b89434f 19### These are shell-specific
20## unexport LARCH_PATH
21## unexport LCLIMPORTDIR
6c9a3167 22
a469ccf0 23### This is horrible! Can't we make top_builddir absolute?
6fcd0b1e 24#SPLINTNEST = valgrind --leak-resolution=high --num-callers=20 --show-reachable=no --leak-check=no ../$(top_builddir)/src/splint$(EXEEXT)
11db3170 25SPLINTNEST = ../$(top_builddir)/src/splint$(EXEEXT)
f2b6724f 26SPLINTPNEST = @$(SPLINTNEST) -nof
27SPLINTP = @$(SPLINT) -nof
8fe44445 28
11db3170 29# Make sure .splintrc files are not used so test results do not
8fe44445 30# depend on local settings.
f2b6724f 31SPLINTRN = $(SPLINTP) -hints -booltype "bool"
11db3170 32SPLINTR = $(SPLINTRN) -exportlocal +debugfcnconstraint
8fe44445 33
f2b6724f 34SPLINTRNNEST = $(SPLINTPNEST) -hints -booltype "bool"
11db3170 35SPLINTRNEST = $(SPLINTRNNEST) -exportlocal +debugfcnconstraint
a469ccf0 36
8fe44445 37###
f2b6724f 38### rcfiles not included becuase file names will not match exactly
39###
8fe44445 40
41UNITTESTS = \
a469ccf0 42 help \
8fe44445 43 abstptr abstract alias alttypes ansireserved argorder \
755ee3f6 44 args arraydims arrayinit arraylit blocks break cases cast chararraylit charlit clauses commentchar compdestroy \
abd7f895 45 compoundliterals compoundstmt constannot controldepth csyntax czechnames czechoslovaknames deadparam \
140c27a8 46 decl divzero enum enumtag exports external fields flags forbody format freearray \
5c2f3045 47 funcpointer functionmacro glob globals impabstract info init inparam internal iter keep libs \
81fc136a 48 linked lintcomments list longint loopexec looptesteffect \
3e3ec469 49 macros macrosef merge mergenull modifies modtest moduncon \
e5081f8c 50 mongoincludes mystrncat noeffect null nullret nullassign numabstract observer oldstyle outglob outparam \
e8b84478 51 parentype postnotnull preds prefixes printflike rc refcounts release repexpose \
6fcd0b1e 52 returned sharing shifts sizesigns slovaknames \
3e3ec469 53 specclauses \
54 special stack staticarray strings \
98b591d2 55 stringliteral \
288cbc5c 56 structassign typequals typeof ud ulstypes union unioninit \
57 unnamedsu unreachable unsignedcompare \
e0b363ad 58 unused ullint utypes void widestrings
8fe44445 59UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
60
3e3ec469 61SUBDIRTESTS = metastate mergestate tainted fileio \
62 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
d26c9667 63 maxset strchr sizeoftest for manual
27c9e640 64
3e3ec469 65### warnuse doesn't work yet!
66SUBDIRTESTS += tests2.2
67SUBDIRTESTS += tests2.4
68SUBDIRTESTS += tests2.5
69SUBDIRTESTS += db1 db2 db3
8fe44445 70
3e3ec469 71SPLINTTESTS = $(UNITTESTS) $(SUBDIRTESTS)
8fe44445 72
73QUICKTESTS = db3
74
75.PHONY: all check
76all check: fulltest
77
78.PHONY: version
79version:
140c27a8 80 -$(SPLINT) -help version
8fe44445 81
82.PHONY: help
51e38316 83
8fe44445 84help:
f2b6724f 85 -@$(SPLINT)
86 -@LARCH_PATH=/dev/null; $(SPLINT) -nof empty.lcl
140c27a8 87 -@$(SPLINT) -help
11db3170 88 -@$(SPLINTP) -asdf
89 -@$(SPLINTP) +boolint +boolint
140c27a8 90 -@$(SPLINT) -help flags alpha
363a5c93 91
363a5c93 92#commenting these out for the release because they will almost always fail
93#since the default will only fit one system
94#Don't want to panic the user...
140c27a8 95# -@$(SPLINT) -help flags all | $(GREP) -v "^larchpath <path> " | $(GREP) -v "^lclimportdir <directory> " | $(GREP) -v " Path argument. Default: " | $(GREP) -v " Directory argument. Default: " | $(GREP) -v " lclimportdir <directory> "
96# -@$(SPLINT) -help flags full | $(GREP) -v "^larchpath <path> " | $(GREP) -v "^lclimportdir <directory> " | $(GREP) -v " Path argument. Default: " | $(GREP) -v " Directory argument. Default: " | $(GREP) -v " lclimportdir <directory> "
97# -@$(SPLINT) -help flags manual | $(GREP) -v "^larchpath <path> " | $(GREP) -v "^lclimportdir <directory> " | $(GREP) -v " Path argument. Default: " | $(GREP) -v " Directory argument. Default: " | $(GREP) -v " lclimportdir <directory> "
51e38316 98
99#larch and lclimportdir have different hardcoded default paths so don't include the path in the output..
100
8fe44445 101
102.PHONY: clean-local
103clean-local:
104 -rm -f *~ #*# *.o *.lcs a.out
5e3bf5ad 105 -rm -f *.out
106 -rm *.lcd *.lh
8fe44445 107 -cd db1; $(MAKE) clean
108 -cd db2; $(MAKE) clean
109 -cd db3; $(MAKE) clean
110
11db3170 111## All tests need splint to be built
8fe44445 112
11db3170 113$(SPLINTTESTS): $(SPLINT)
8fe44445 114
11db3170 115$(SPLINT):
8fe44445 116 cd $(top_builddir)/src; $(MAKE)
117
118## This is a kludgey way of processing the output to make it match exactly
119## The last matcher is the most annoying, as it can differ (the first two are
120## pretty much fixed); usually, you'll have 'make[1]:', but on DOS it is
121## 'make.exe[1]:' (it might even be 'c:/path/to/make.exe[1]:', but that's
122## not supported).
123## The tests should really be re-done as shell-scripts or something... maybe
124## autotest could be used once it's finished.
4c9767b3 125
51e38316 126CLEANOUTPUT = $(GREP) -v "Splint 3." | $(GREP) -v "$(SPLINT)" | $(GREP) -v "^make.*\[[1-9]*\]:" | $(GREP) -v "^gmake.*\[[1-9]*\]:" | $(GREP) -v "^gmake -e" | $(GREP) -v "^make -e" |$(GREP) -v "config.status: creating test/Makefile" | $(GREP) -v "cd .. && " | $(GREP) -v "CONFIG_HEADERS=" | $(GREP) -v "CONFIG_FILES="
8fe44445 127
40fabe26 128#drl 12/07/2002 These rules for .c and .expect files don't make sense
129# and they are confusing make dist so I'm taking them out.
130
8fe44445 131## Not real C code
132
40fabe26 133#.c.expect:
134# $(MAKE) $* |& $(CLEANOUTPUT) >$*.expect && cat $*.expect
135#
136#.c.diff:
137# $(MAKE) $* |& $(CLEANOUTPUT) >$*.out && diff $*.expect $*.out
8fe44445 138
8fe44445 139
6c9a3167 140#drl temporally take this out.
141#.PHONY: expects
142#expects:
143# @echo "Saving old expects..."; \
144# cat *.expect >expects-`date +"%y-%m-%d-%H"`
145# @for TEST in $(UNITTESTS) $(INTEGTESTS); do \
146# echo "Making $$TEST.expect..."; \
147# $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.expect; \
148# cat $$TEST.expect; \
149# done
8fe44445 150
ce956ce0 151CheckSystemDir = (pwd | grep -q "/usr" && echo "Warning tests which not run correctly when splint is built in /usr or a subdirectory under /usr. Build splint in a different directory or disregard test failures." )
152
8fe44445 153.PHONY: quicktest
154quicktest:
ce956ce0 155 $(CheckSystemDir)
8fe44445 156 @for TEST in $(QUICKTESTS); do \
157 echo "Checking $$TEST..."; \
158 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
159 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
160 echo "*** FAIL ***"; \
161 done
162
163.PHONY: fulltest
164fulltest:
165 @echo "Testing $(PACKAGE) $(VERSION)..."
166 @echo
167 @echo "Version Info:"
140c27a8 168 @$(SPLINT) -help version
169 @$(SPLINT) -help vars
8fe44445 170 @echo ""
3e3ec469 171 @echo "Tests:"
a469ccf0 172 @echo ""
3e3ec469 173 @for TEST in $(SPLINTTESTS); do \
a469ccf0 174 echo "Checking $$TEST..."; \
175 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
176 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
177 echo "*** FAIL ***"; \
178 done
8fe44445 179
a469ccf0 180### Rules for tests start here
8fe44445 181
8fe44445 182.PHONY: abstptr
183abstptr:
3e3ec469 184 -$(SPLINTR) abstptr -expect 9
185 -$(SPLINTR) abstptr +voidabstract -expect 6
8fe44445 186
187.PHONY: abstract
188abstract:
3e3ec469 189 -$(SPLINTR) abst_t.lcl commentcmd.c -expect 15
8fe44445 190
191.PHONY: alias
192alias:
3e3ec469 193 -$(SPLINTR) +lh mut
194 -$(SPLINTR) mut alias +globalias -expect 19
195 -$(SPLINTR) mut alias2 +globalias -expect 17
196 -$(SPLINTR) +lh alias3 -expect 14
197 -$(SPLINTR) +lh alias4 +boolint
198 -$(SPLINTR) alias4 -pred +retalias -expect 6
199 -$(SPLINTR) +lh alias5 +memchecks -null -specundef -expect 5
8fe44445 200
201.PHONY: alttypes
202alttypes:
3e3ec469 203 -$(SPLINTR) alttypes.c -expect 2
8fe44445 204
205###
206### evans 2001-06-07 - updated nameCheck.c to reflect C9X.
207### Reports one new errors for ansireserved.c - wctomb is bad even as a local
208### variable (could be a macro?)
209### Reports 3 additional errors for +checks; no longer suppresses name errors
210### in the presense of other errors.
211###
212
213.PHONY: ansireserved
214ansireserved:
3e3ec469 215 -$(SPLINTR) ansireserved.c +ansireserved -nolib -expect 9
216 -$(SPLINTR) ansireserved.c +ansireserved +ansireservedlocal -nolib -expect 11
217 -$(SPLINTRN) ansireserved.c +checks -exportlocal -exportheadervar -exportheader -expect 12
218 -$(SPLINTR) ansireserved2.c +ansireserved -expect 1
8fe44445 219
220.PHONY: argorder
221argorder:
3e3ec469 222 -$(SPLINTR) argorder.c -expect 4
223 -$(SPLINTR) argorder2 -expect 5
224 -$(SPLINTR) argorder3.c -expect 8
225 -$(SPLINTR) argorder4 -expect 9
226 -$(SPLINTR) argorder4 -evalorder -expect 1
227 -$(SPLINTR) argorder5.c +evalorderuncon -expect 3
8fe44445 228
229.PHONY: args
230args:
3e3ec469 231 -$(SPLINTR) args -noeffect -expect 12
8fe44445 232
077d4458 233.PHONY: arraydims
234arraydims:
235 -$(SPLINTR) arraydims.c -varuse -expect 2
236 -$(SPLINTR) arraydims.c -initsize -varuse
237
393e573f 238.PHONY: arrayinit
239arrayinit:
240 -$(SPLINTR) arrayinit.c -expect 9
241
37ae0b5e 242.PHONY: arraylit
243arraylit:
244 -$(SPLINTR) arraylit.c -expect 2
245 -$(SPLINTR) arraylit.c +stringliteralsmaller -expect 4
246
8fe44445 247.PHONY: blocks
248blocks:
3e3ec469 249 -$(SPLINTR) blocks.c -expect 4
250 -$(SPLINTR) blocks.c +ifblock +elseifcomplete -expect 7
251 -$(SPLINTR) blocks.c -ifempty +whileempty +whileblock -expect 3
252 -$(SPLINTR) blocks.c -ifempty +forempty +forblock -expect 3
253 -$(SPLINTR) blocks.c +allempty -expect 6
254 -$(SPLINTRN) blocks.c +strict -exportlocal +partial -exportheader -expect 11
8fe44445 255
256.PHONY: break
257break:
3e3ec469 258 -$(SPLINTR) break.c -expect 4
259 -$(SPLINTR) break.c +deepbreak -expect 6
260 -$(SPLINTR) break.c +deepbreak -looploopbreak -expect 5
8fe44445 261
262.PHONY: cases
263cases:
3e3ec469 264 -$(SPLINTR) cases.c -expect 5
265 -$(SPLINTR) cases2.c -expect 2
266 -$(SPLINTRN) cases2.c +checks -exportlocal -exportheader -expect 3
267 -$(SPLINTRN) cases2.c +checks -exportlocal -exportheader -branchstate -expect 3
8fe44445 268
269.PHONY: cast
270cast:
3e3ec469 271 -$(SPLINTR) cast -accessmodule -expect 20
272 -$(SPLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
8fe44445 273
755ee3f6 274.PHONY: chararraylit
275chararraylit:
276 -$(SPLINTR) chararraylit.c -expect 2
277
8fe44445 278### Two addition errors detected with 2.5 with -numliteral.
279
e5081f8c 280### evans 2002-12-15: finds one more but in charlit
8fe44445 281.PHONY: charlit
282charlit:
3e3ec469 283 -$(SPLINTR) +hints charlit.c -expect 4
284 -$(SPLINTR) +hints -numliteral charlit.c -expect 6
e5081f8c 285 -$(SPLINTR) +hints charlit.c +charintliteral +ignoresigns -expect 1
8fe44445 286
287.PHONY: clauses
288clauses:
3e3ec469 289 -$(SPLINTR) clauses.c +memchecks -expect 4
290 -$(SPLINTR) clauses2.c +memchecks
291 -$(SPLINTR) clauses3.c +memchecks -expect 2
292 -$(SPLINTR) clauses3.c +memchecks +unixlib -expect 3
8fe44445 293
294.PHONY: commentchar
295commentchar:
3e3ec469 296 -$(SPLINTR) commentchar.c -expect 4
297 -$(SPLINTR) -commentchar '#' commentchar.c -expect 4
8fe44445 298
299.PHONY: controldepth
300controldepth:
3e3ec469 301 -$(SPLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
302 -$(SPLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
8fe44445 303
304.PHONY: compdestroy
305compdestroy:
3e3ec469 306 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader -expect 1
307 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy -expect 2
308 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy +strictusereleased -expect 3
309 -$(SPLINTRN) compdestroy.c +strict +partial -exportheader -expect 3
8fe44445 310
16d40061 311.PHONY: compoundliterals
312compoundliterals:
313 ${SPLINTRN} compoundliterals.c
314
abd7f895 315.PHONY: compoundstmt
316compoundstmt:
317 ${SPLINTRN} compoundstmt.c -expect 3
318
8fe44445 319.PHONY: constannot
320constannot:
bb7c2085 321 ${SPLINTRN} constannot.c +boundswrite -exportlocal -expect 2
8fe44445 322
323.PHONY: csyntax
324csyntax:
3e3ec469 325 -$(SPLINTR) +quiet -incondefs csyntax.c -expect 1
326 -$(SPLINTR) +quiet csyntax2.c -expect 2
327 -$(SPLINTR) +quiet csyntax3.c -expect 1
328 -$(SPLINTR) +quiet -incondefs csyntax4.c
329 -$(SPLINTR) +quiet csyntax5.c
330 -$(SPLINTR) +quiet csyntax6.c
331 -$(SPLINTR) +quiet csyntax7.c
332 -$(SPLINTR) +quiet csyntax8.c
333 -$(SPLINTR) +quiet csyntax9.c
334 -$(SPLINTR) +quiet csyntax10.c
335 -$(SPLINTR) +quiet csyntax11.c
336 -$(SPLINTR) +quiet csyntax12.c
337 -$(SPLINTR) +quiet csyntax13.c -expect 1
338 -$(SPLINTR) +quiet csyntax14.c
339 -$(SPLINTR) +quiet csyntax15.c
340 -$(SPLINTR) +quiet csyntax16.c -expect 2
341 -$(SPLINTR) +quiet csyntax17.c -expect 3
8fe44445 342
343.PHONY: czechnames
344czechnames:
3e3ec469 345 -$(SPLINTR) czechnames.c
346 -$(SPLINTR) +hints +czech czechnames.c -expect 2
347 -$(SPLINTR) +hints +czech -czechvars czechnames.c -expect 1
348 -$(SPLINTR) +hints +czech -accessczech czechnames.c -expect 6
8fe44445 349
350.PHONY: czechoslovaknames
351czechoslovaknames:
3e3ec469 352 -$(SPLINTR) +hints +czechoslovak czechnames.c -expect 1
353 -$(SPLINTR) +hints +czechoslovak slovaknames.c -expect 1
354 -$(SPLINTR) +hints +czechoslovak +slovakvars slovaknames.c -expect 2
8fe44445 355
356###
357### deadparam added 2001-05-27
358###
359
360.PHONY: deadparam
361deadparam:
11db3170 362 ${SPLINTR} deadparam.c -expect 3
8fe44445 363
364#
365# Was expect 3 before 2.4. Earlier versions did not handle implicit
366# function pointers correctly.
367#
368
369.PHONY: decl
370decl:
3e3ec469 371 -$(SPLINTR) decl.c -expect 2
372 -$(SPLINTRN) decl.c +strict -exportlocal -expect 5
373 -$(SPLINTR) decl2 -expect 4
8fe44445 374
140b6a60 375.PHONY: divzero
376divzero:
377 -$(SPLINTR) divzero.c -varuse -expect 0
378
8fe44445 379.PHONY: enum
380enum:
3e3ec469 381 -$(SPLINTR) enum -expect 16
382 -$(SPLINTR) enum -misscase -expect 14
8fe44445 383
140c27a8 384.PHONY: enumtag
385enumtag:
386 -$(SPLINTR) enumtag.c -expect 2
387
8fe44445 388.PHONY: exports
389exports:
3e3ec469 390 -$(SPLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
391 -$(SPLINTR) exports.c +exportany -expect 3
392 -$(SPLINTR) exports.c
8fe44445 393
394.PHONY: external
395external:
3e3ec469 396 -$(SPLINTR) external.c +partial
27c9e640 397 -$(SPLINTR) external.c +partial +distinctexternalnames +ansi89limits -expect 2
3e3ec469 398 -$(SPLINTR) external.c -nolib +partial -externalnamelength 3 -expect 3
399 -$(SPLINTR) external.c -nolib +partial -externalnamelength 3 +externalnamecaseinsensitive -expect 3
400 -$(SPLINTR) external.c +partial -externalnamelength 3 -expect 4
8fe44445 401
402.PHONY: fields
403fields:
3e3ec469 404 -$(SPLINTR) fields.c +memchecks -expect 6
405 -$(SPLINTR) fields2.c +memchecks -expect 5
406 -$(SPLINTR) fields3.c +memchecks
8fe44445 407
408.PHONY: flags
409flags:
3e3ec469 410 -$(SPLINTR) flags.c -expect 8
411 -$(SPLINTR) +nocomments flags.c -expect 2
8fe44445 412
413### Added 2001-06-02
414
415.PHONY: forbody
416forbody:
11db3170 417 ${SPLINTR} forbody.c -expect 2
8fe44445 418
419### Added 2001-06-03
420.PHONY: format
421format:
11db3170 422 ${SPLINTR} format.c -expect 3
423 ${SPLINTR} format.c -formatconst
8fe44445 424
425# two new errors (invalid lhs)
426
427.PHONY: funcpointer
428funcpointer:
3e3ec469 429 -$(SPLINTR) +memchecks +noparams funcpointer.c -expect 18
8fe44445 430
5c2f3045 431.PHONY: functionmacro
432functionmacro:
3e3ec469 433 -$(SPLINTR) functionmacro.c -expect 2
5c2f3045 434
8fe44445 435.PHONY: glob
436glob:
3e3ec469 437 -$(SPLINTR) glob -expect 4
438 -$(SPLINTR) glob -globuse -expect 3
439 -$(SPLINTR) glob +globunspec -expect 6
8fe44445 440
441.PHONY: globals
442globals:
3e3ec469 443 -$(SPLINTR) -modifies globals.c -expect 5
444 -$(SPLINTR) -modifies globals.c +allglobals -expect 6
445 -$(SPLINTR) -modifies globals.c +impcheckedglobals -expect 6
446 -$(SPLINTR) -modifies globals.c -globals -checkstrictglobals -expect 2
447 -$(SPLINTR) -modifies globals.c +globunspec -expect 6
448 -$(SPLINTR) -modifies globals.c +globunspec +allglobals -expect 8
8fe44445 449
450# Was -accessfile
451.PHONY: impabstract
452impabstract:
3e3ec469 453 -$(SPLINTR) -accessmodule impabstract.c
454 -$(SPLINTR) -accessmodule +hints +impabstract impabstract.c -expect 2
455 -$(SPLINTR) -accessmodule +hints +impabstract impabstract -expect 4
8fe44445 456
4c9767b3 457###
458### evans 2001-12-30: Handle unrecognized pre-processor directives
459### (Reported by Pierluigi Sanzani)
460
461.PHONY: info
462info:
463 ${SPLINTR} info.c -expect 4
464
8fe44445 465### evans 2001-10-14: Expected errors updated
466.PHONY: init
467init:
3e3ec469 468 -$(SPLINTR) init.c -expect 14
469 -$(SPLINTRN) init.c +checks -exportlocal -exportheadervar -expect 17
8fe44445 470
471
472.PHONY: inparam
473inparam:
3e3ec469 474 -$(SPLINTR) inparam.c -expect 2
475 -$(SPLINTR) +impouts inparam.c -expect 1
8fe44445 476
477.PHONY: internal
478internal:
3e3ec469 479 -$(SPLINTR) internal.c -expect 1
27c9e640 480 -$(SPLINTR) internal.c +distinctinternalnames -expect 1
481 -$(SPLINTR) internal.c +distinctinternalnames +ansi89limits -expect 2
3e3ec469 482 -$(SPLINTR) internal.c -internalnamelen 28 -expect 3
483 -$(SPLINTR) internal.c +internalnamecaseinsensitive -expect 3
484 -$(SPLINTR) internal.c +internalnamecaseinsensitive +internalnamelookalike -expect 11
8fe44445 485
486###
487### iter
488### 2001-06-06: Error message for iter.lcl:3,6 fixed to iter.lcl:3:6
489###
490
491.PHONY: iter
492iter:
3e3ec469 493 -$(SPLINTR) iter -expect 14 -lclexpect 1
494 -$(SPLINTR) iter2.c -expect 12
8fe44445 495
496.PHONY: keep
497keep:
3e3ec469 498 -$(SPLINTR) keep.c +memchecks -expect 6
8fe44445 499
500### libs
501### 2001-05-22: 2 new errors found (fixed spec of signal)
502### 2001-05-30: 3 new errors found (formatconst)
f9264521 503### 2002-07-08: 2 new errors found (getc modifies errno)
8fe44445 504
505.PHONY: libs
506libs:
3e3ec469 507 -$(SPLINTR) libs.c +longunsignedunsignedintegral -expect 18
508 -$(SPLINTR) libs.c -expect 22
509 -$(SPLINTR) libs.c +globunspec +modunspec -expect 25
f9264521 510 -$(SPLINTR) libs.c +strictlib +globunspec +modunspec -expect 44
8fe44445 511
512.PHONY: lintcomments
513lintcomments:
3e3ec469 514 -$(SPLINTR) lintcomments.c -expect 5
515 -$(SPLINTR) lintcomments.c -warnlintcomments -expect 1
516 -$(SPLINTR) lintcomments.c -lintcomments -expect 4
8fe44445 517
518.PHONY: list
519list:
3e3ec469 520 -$(SPLINTR) list.c -expect 3
521
81fc136a 522###
523### 2002-12-12: Added test case for +longint and +shortint flags
524###
525
526.PHONY: longint
527longint:
528 -$(SPLINTR) longint.c -expect 3
529 -$(SPLINTR) longint.c +longint -expect 2
530 -$(SPLINTR) longint.c +shortint -expect 2
531 -$(SPLINTR) longint.c +shortint +longint -expect 0
532
3e3ec469 533###
534### 2002-01-01: Added test case for obvious loop execution.
535###
536
537.PHONY: loopexec
538loopexec:
539 -$(SPLINTR) loopexec.c -expect 1
540 -$(SPLINTR) loopexec.c -obviousloopexec -expect 3
541
52e90c0f 542.PHONY: looptesteffect
543looptesteffect:
544 -$(SPLINTR) looptesteffect.c -expect 1
8fe44445 545
546.PHONY: macros
547macros:
3e3ec469 548 -$(SPLINTR) macros -expect 17
549 -$(SPLINTR) macros.c +allmacros -expect 34
550 -$(SPLINTR) macros.c +fcnmacros -expect 31
8fe44445 551
552
553.PHONY: macrosef
554macrosef:
3e3ec469 555 -$(SPLINTR) macrosef -expect 4
556 -$(SPLINTR) macrosef.c +allmacros -expect 3
557 -$(SPLINTR) macrosef.c +allmacros +sefuncon -expect 4
8fe44445 558
559.PHONY: merge
560merge:
3e3ec469 561 -$(SPLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
8fe44445 562
60868d40 563.PHONY: mergenull
564mergenull:
3e3ec469 565 -$(SPLINTRN) mergenull.c
60868d40 566
8fe44445 567.PHONY: modifies
568modifies:
3e3ec469 569 -$(SPLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
8fe44445 570
571.PHONY: modtest
572modtest:
3e3ec469 573 -$(SPLINTR) modtest -expect 10
574 -$(SPLINTR) modtest +modunspec -expect 13
575 -$(SPLINTR) modtest +mustmod -expect 14
8fe44445 576
577.PHONY: moduncon
578moduncon:
3e3ec469 579 -$(SPLINTR) moduncon.c +moduncon -memchecks -expect 4
580 -$(SPLINTRN) moduncon.c +strict -exportlocal -expect 22
8fe44445 581
582.PHONY: mongoincludes
583mongoincludes:
3e3ec469 584 -$(SPLINTR) mongoincludes.c -includenest 1 -expect 19
585 -$(SPLINTR) mongoincludes.c -includenest 2 -expect 10
586 -$(SPLINTR) mongoincludes.c -includenest 3 -expect 4
587 -$(SPLINTR) mongoincludes.c -includenest 4 -expect 1
588 -$(SPLINTR) mongoincludes.c -includenest 5 -expect 0
8fe44445 589
590.PHONY: mystrncat
591mystrncat:
bb7c2085 592 -$(SPLINTR) mystrncat.c +boundsread +boundswrite -expect 4
8fe44445 593
594.PHONY: noeffect
595noeffect:
4dd72714 596 ${SPLINTP} noeffect.c +allmacros +checks -expect 3
8fe44445 597
3e3ec469 598###
599### 2002-01-01: null1.c: expect increased to 15 because out must be defined
600### checking detects one new error
601###
602
8fe44445 603.PHONY: null
604null:
3e3ec469 605 -$(SPLINTR) null1.c -expect 15
606 -$(SPLINTR) null1.c -null -mustdefine -expect 4
607 -$(SPLINTR) null2.c -expect 11
608 -$(SPLINTR) null3.c -expect 15
35e8712d 609 -$(SPLINTR) null3.c +unixlib -expect 16
3e3ec469 610 -$(SPLINTR) null4.c -expect 1
611 -$(SPLINTR) null5.c -expect 4
612 -$(SPLINTR) null6 -expect 4
613 -$(SPLINTR) +quiet null6.lcl -dump null6
614 -$(SPLINTR) null6.c -load null6 -expect 4
8fe44445 615
616### Added for 3.0 (bugs reported by Kevin Broady)
617
618.PHONY: nullret
619nullret:
3e3ec469 620 -$(SPLINTR) nullret.c -expect 2
e5081f8c 621 -$(SPLINTR) -nullret nullret.c -expect 0
8fe44445 622
623.PHONY: nullassign
624nullassign:
3e3ec469 625 -$(SPLINTR) nullassign.c -expect 2
626 -$(SPLINTR) -nullassign nullassign.c -expect 1
8fe44445 627
628
e5081f8c 629### Added for 3.1 - evans 2002-12-14
630
631.PHONY: numabstract
632numabstract:
16c024b5 633 -$(SPLINTR) numabstract.c -expect 11
634 -$(SPLINTR) numabstract.c +numabstractlit -expect 9
635 -$(SPLINTR) numabstract.c -numabstractcast -expect 10
e5081f8c 636
8fe44445 637#
638# Before 2.4, expected one more because error was reported both as
639# dependent and observer.
640#
641
642.PHONY: observer
643observer:
3e3ec469 644 -$(SPLINTRN) observer +checks -exportlocal -exportheader -expect 9
645 -$(SPLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
646 -$(SPLINTR) observer.c -expect 7
8fe44445 647
648.PHONY: oldstyle
649oldstyle:
7c39a167 650 -$(SPLINTR) oldstyle oldstyle2.c -expect 5
8fe44445 651
652.PHONY: outglob
653outglob:
3e3ec469 654 -$(SPLINTR) outglob -expect 10
8fe44445 655
656.PHONY: outparam
657outparam:
3e3ec469 658 -$(SPLINTR) outparam -expect 12
8fe44445 659
660### evans 2001-08-26: postnotnull new
661
662.PHONY: postnotnull
663postnotnull:
11db3170 664 ${SPLINTR} postnotnull.c -expect 1
e8b84478 665
666### evans 2002-02-09: added parentype.c
667.PHONY: parentype
668parentype:
669 ${SPLINTR} parentype.c
670
8fe44445 671#
672# Four new +fcnuse errors for -strict (evans 2001-07-22)
673#
674
675.PHONY: preds
676preds:
3e3ec469 677 -$(SPLINTR) +hints preds.c -expect 6
678 -$(SPLINTRN) +hints preds.c -weak -expect 1
0bd4c301 679 -$(SPLINTRN) +hints preds.c -strict -exportlocal -exportheader -expect 10
8fe44445 680
681.PHONY: prefixes
682prefixes:
3e3ec469 683 -$(SPLINTR) prefixes.c +partial
684 -$(SPLINTRN) prefixes.c +allmacros +checks -exportlocal +partial -exportheader -exportheadervar -expect 4
685 -$(SPLINTR) prefixes.c -typeprefix "T" -expect 2
686 -$(SPLINTR) prefixes.c -typeprefix "^" -expect 1
687 -$(SPLINTR) prefixes.c -typeprefix "^*" -expect 2
688 -$(SPLINTR) prefixes.c -typeprefix "^%*" -expect 2
689 -$(SPLINTR) prefixes.c -typeprefix "^~*" -expect 2
690 -$(SPLINTR) prefixes.c -typeprefix "^" +typeprefixexclude -expect 7
691 -$(SPLINTR) prefixes.c -filestaticprefix "^^" -expect 4
692 -$(SPLINTR) prefixes.c -filestaticprefix "^#" -expect 5
693 -$(SPLINTR) prefixes.c -filestaticprefix "^?&x" -expect 5
694 -$(SPLINTR) prefixes.c -globalprefix "G" -expect 1
695 -$(SPLINTR) prefixes.c -globalprefix "&G?_^" -expect 1
696 -$(SPLINTR) prefixes.c -externalprefix "G" -expect 5
697 -$(SPLINTR) prefixes.c -typeprefix "T" -externalprefix "G" -expect 4
698 -$(SPLINTR) prefixes.c -localprefix "?*" +localprefixexclude -expect 13
8fe44445 699
700.PHONY: printflike
701printflike:
3e3ec469 702 -$(SPLINTR) printflike.c -expect 6
703 -$(SPLINTR) printflike.c -warnlintcomments -expect 5
8fe44445 704
705.PHONY: rc
706rc:
3e3ec469 707 -$(SPLINTR) -DMYSTERY='"a flag\"wicked cool"' rc.c -expect 1
708 -$(SPLINTR) -DMYSTERY=12 rc.c -expect 1
709 -$(SPLINTR) -f rc1.splintrc rc.c -expect 1
710 -$(SPLINTR) -UMYSTERY -f rc1.splintrc rc.c -expect 1
711 -$(SPLINTR) -f rc3.splintrc rc.c -expect 1
8fe44445 712
60868d40 713.PHONY: rcfiles
714rcfiles:
3e3ec469 715 cd rcfiles; ${MAKE} SPLINT="-$(SPLINTPNEST)"
60868d40 716
8fe44445 717.PHONY: refcounts
718refcounts:
3e3ec469 719 -$(SPLINTR) refcounts.c -expect 7
8fe44445 720
721.PHONY: release
722release:
3e3ec469 723 -$(SPLINTR) release.c +memchecks -expect 1
8fe44445 724
725.PHONY: repexpose
726repexpose:
3e3ec469 727 -$(SPLINTR) +lh repexpose +memchecks -expect 12
728 -$(SPLINTR) repexpose +memchecks +retalias -expect 15
729 -$(SPLINTRN) repexpose +checks -exportlocal -expect 27
8fe44445 730
731### returned added 2001-05-27
11db3170 732### (Bug discovered checking splint sources.)
8fe44445 733
734.PHONY: returned
735returned:
11db3170 736 ${SPLINTR} returned.c -expect 1
8fe44445 737
738.PHONY: sharing
739sharing:
3e3ec469 740 -$(SPLINTR) sharing1.c -expect 21
741 -$(SPLINTR) sharing3.c -expect 3
742 -$(SPLINTR) sharing4.c -expect 13
743 -$(SPLINTR) sharing4.c -paramimptemp -expect 12
744 -$(SPLINTR) sharing5.c -expect 6
8fe44445 745
a956d444 746.PHONY: shifts
747shifts:
748 -$(SPLINTR) shifts.c -expect 4
749 -$(SPLINTR) shifts.c -shiftimplementation -expect 3
750 -$(SPLINTR) shifts.c -shiftnegative -expect 1
751
40fabe26 752#drl comment this out until sizesigns is added to cvs
753
6fcd0b1e 754### evans - added 2002-08-17: check warnings with arbitrary integral types
714e65be 755sizesigns:
e5081f8c 756 -$(SPLINTR) +strict sizesigns.c -expect 5
757 -$(SPLINTR) +strict +matchanyintegral sizesigns.c -expect 4
6fcd0b1e 758
8fe44445 759.PHONY: slovaknames
760slovaknames:
3e3ec469 761 -$(SPLINTR) +hints slovaknames.c -expect 1
762 -$(SPLINTR) +hints slovaknames.c +accessslovak
763 -$(SPLINTR) +hints +slovak slovaknames.c -expect 3
764 -$(SPLINTR) +hints +slovak -slovakvars slovaknames.c -expect 2
765 -$(SPLINTR) +hints +slovak -accessslovak slovaknames.c -expect 7
8fe44445 766
6fcd0b1e 767##
768## evans 2002-07-22: 1 less warning for specclauses3.c because of NULL result
769##
770
8fe44445 771.PHONY: specclauses
772specclauses:
3e3ec469 773 -$(SPLINTR) specclauses.c -expect 6
774 -$(SPLINTR) specclauses2.c -expect 8
6fcd0b1e 775 -$(SPLINTR) specclauses3.c -expect 5
3e3ec469 776 -$(SPLINTR) specclauses4.c -expect 3
777 -$(SPLINTR) specclauses5.c -expect 3
778
779.PHONY: specclauses1
780specclauses1:
781 -$(SPLINTR) specclauses.c -expect 6
782
783.PHONY: specclauses2
784specclauses2:
785 -$(SPLINTR) specclauses2.c -expect 8
786
787.PHONY: specclauses3
788specclauses3:
789 -$(SPLINTR) specclauses3.c -expect 6
790
791.PHONY: specclauses4
792specclauses4:
793 -$(SPLINTR) specclauses4.c -expect 3
794
795.PHONY: specclauses5
796specclauses5:
797 -$(SPLINTR) specclauses5.c -expect 3
8fe44445 798
799.PHONY: special
800special:
3e3ec469 801 -$(SPLINTR) special -expect 20
802 -$(SPLINTR) special -relaxquals -expect 22
8fe44445 803
804.PHONY: stack
805stack:
3e3ec469 806 -$(SPLINTR) stack.c -expect 5
807 -$(SPLINTR) stack.c -stackref
8fe44445 808
809.PHONY: staticarray
810staticarray:
3e3ec469 811 -$(SPLINTR) staticarray.c -expect 3
8fe44445 812
37ae0b5e 813###
814### evans 2002-03-16: Default setting of stringliteralnoroomfinalnull changed
815###
816
98b591d2 817.PHONY: stringliteral
818stringliteral:
37ae0b5e 819 -$(SPLINTR) stringliteral.c -stringliteralnoroomfinalnull -expect 3
820 -$(SPLINTR) stringliteral.c -expect 4
98b591d2 821
8fe44445 822.PHONY: strings
823strings:
3e3ec469 824 -$(SPLINTR) strings.c -expect 3
825 -$(SPLINTR) -readonlystrings -expect 1 strings.c
826 -$(SPLINTR) +modobserverstrict -maintype -expect 4 strings.c
8fe44445 827
828.PHONY: structassign
829structassign:
3e3ec469 830 -$(SPLINTR) structassign.c -expect 4
8fe44445 831
abd7f895 832.PHONY: typeof
833typeof:
834 -$(SPLINTR) typeof.c -expect 2
835
8fe44445 836.PHONY: typequals
837typequals:
3e3ec469 838 -$(SPLINTR) typequals.c tq.lcl -expect 5
839 -$(SPLINTR) typequals.c -expect 2
8fe44445 840
841.PHONY: ud
842ud:
3e3ec469 843 -$(SPLINTR) ud.c -expect 9
844 -$(SPLINTR) ud2 -specundef -expect 3
8fe44445 845
846.PHONY: ulstypes
847ulstypes:
3e3ec469 848 -$(SPLINTR) ulstypes.c -expect 8
849 -$(SPLINTR) ulstypes.c +ignorequals
850 -$(SPLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
146e25eb 851
8fe44445 852# 3 more detected with version 2.5 (change in -numliteral setting)
853
854.PHONY: union
855union:
3e3ec469 856 -$(SPLINTR) +memchecks union.c -expect 8
8fe44445 857
146e25eb 858###
859### Added 2001-12-30: fixed union initializer checking in response to
860### bug report from Jim Zelenka.
861###
862
863.PHONY: unioninit
864unioninit:
3e3ec469 865 -$(SPLINTR) unioninit.c -expect 2
146e25eb 866
288cbc5c 867.PHONY: unnamedsu
868unnamedsu:
869 -$(SPLINTR) unnamedsu.c -expect 0
870
8fe44445 871.PHONY: unreachable
872unreachable:
3e3ec469 873 -$(SPLINTR) unreachable.c -expect 5
874 -$(SPLINTR) -unreachable unreachable.c -expect 2
875 -$(SPLINTR) switch.c -expect 4
8fe44445 876
877.PHONY: unsignedcompare
878unsignedcompare:
11db3170 879 ${SPLINTR} +posixlib unsignedcompare.c -expect 4
8fe44445 880
881
882###
883### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
884###
885
886.PHONY: unused
887unused:
3e3ec469 888 -$(SPLINTRN) unused.c +checks -exportlocal -expect 5
889 -$(SPLINTRN) unused.c +checks -exportlocal +topuse -expect 8
8fe44445 890
891###
892### 2001-06-10: Provided by Jim Zalenka
893###
894
895.PHONY: ullint
896ullint:
11db3170 897 ${SPLINTRN} ullint.c -expect 5
898 ${SPLINTRN} ullint.c +charint +charintliteral -expect 2
8fe44445 899
f2b6724f 900###
901### 2001-12-30: Poor warnings reported by Peter Deutsch
902###
ce7034f0 903### 2002-07-03: removed warnings for datatype/macro definitions
904###
f2b6724f 905
906.PHONY: utypes
907utypes:
ce7034f0 908 ${SPLINTRN} utypes.c -expect 2
f2b6724f 909
910###
911
8fe44445 912.PHONY: void
913void:
11db3170 914 ${SPLINTRN} void.c -expect 2
8fe44445 915
e0b363ad 916###
917### 2001-12-30: Problems with wide character strings reported by Nelson Beebe
918###
919
920.PHONY: widestrings
921widestrings:
922 ${SPLINTRN} widestrings.c -expect 2
923
8fe44445 924###
925### New since 2.5q:
926###
927
928.PHONY: linked
929linked:
11db3170 930 ${SPLINTR} linked.c -expect 4
931 ${SPLINTR} linked2.c -expect 3
932 ${SPLINTR} linked3.c -expect 5
933 ${SPLINTR} linked4.c -expect 6
934 ${SPLINTR} linked5.c -expect 4
935 ${SPLINTR} linked6.c -expect 4
8fe44445 936
937.PHONY: freearray
938freearray:
11db3170 939 ${SPLINTR} freearray.c -expect 1
8fe44445 940
a469ccf0 941.PHONY: sizeof
942sizeof:
bb7c2085 943 -$(SPLINTR) +bounds sizeof.c -expect 1
a469ccf0 944
d26c9667 945
a469ccf0 946.PHONY: buffertest
947buffertest:
bb7c2085 948 -$(SPLINTR) +bounds buffertest1.c -expect 5
8fe44445 949
950## Integration Tests
951
952## evans 2000-12-22
953## db2: 2 errors are no longer reported, since eref is immutable.
954## Need to clarify what it means for an object to be immutable;
955## there should be 2 types with different storage requirements.
956
8fe44445 957.PHONY: $(SUBDIRTESTS)
958$(SUBDIRTESTS):
11db3170 959 cd $@; $(MAKE) SPLINT="$(SPLINTRNNEST)"
a469ccf0 960
6c9a3167 961#drl 11/29/2001 This is a very ugly hack to get make dist to work
5e3bf5ad 962EXTRA_DIST = ./abst_t.lcl \
963 ./abstptr.lcl \
964 ./alias.lcl \
965 ./alias2.lcl \
6c9a3167 966 ./alias3.lcl \
967 ./db1/erc.lcl \
968 ./db1/bool.lcl \
969 ./db1/dbase.lcl \
970 ./db1/employee.lcl \
971 ./db1/empset.lcl \
972 ./db1/eref.lcl \
973 ./db1/ereftab.lcl \
6c9a3167 974 ./alias4.lcl \
6c9a3167 975 ./alias5.lcl \
6c9a3167 976 ./argorder2.lcl \
6c9a3167 977 ./argorder4.lcl \
6c9a3167 978 ./args.lcl \
6c9a3167 979 ./cast.lcl \
6c9a3167 980 ./decl2.lcl \
6c9a3167 981 ./empty.lcl \
982 ./enum.lcl \
6c9a3167 983 ./glob.lcl \
6c9a3167 984 ./impabstract.lcl \
6c9a3167 985 ./iter.lcl \
6c9a3167 986 ./macros.lcl \
6c9a3167 987 ./macrosef.lcl \
6c9a3167 988 ./modtest.lcl \
6c9a3167 989 ./mut.lcl \
6c9a3167 990 ./mut.lh.expect \
991 ./db2/dbase.lcl \
992 ./db2/employee.lcl \
993 ./db2/empset.lcl \
994 ./db2/erc.lcl \
995 ./db2/eref.lcl \
996 ./db2/ereftab.lcl \
997 ./db2/etest.lcl \
6c9a3167 998 ./null6.lcl \
6c9a3167 999 ./observer.lcl \
6c9a3167 1000 ./oldstyle.lcl \
6c9a3167 1001 ./outglob.lcl \
6c9a3167 1002 ./outparam.lcl \
11db3170 1003 ./rc1.splintrc \
1004 ./rc2.splintrc \
1005 ./rc3.splintrc \
1006 ./rc3.splintrc.os2 \
6c9a3167 1007 ./repexpose.lcl \
6c9a3167 1008 ./repexpose.lh.expect \
1009 ./special.lcl \
11db3170 1010 ./db3/.splintrc \
6c9a3167 1011 ./db3/bool.lcl \
1012 ./db3/check.lcl \
1013 ./db3/dbase.lcl \
1014 ./db3/employee.lcl \
1015 ./db3/empset.lcl \
1016 ./db3/erc.lcl \
1017 ./db3/eref.lcl \
1018 ./db3/ereftab.lcl \
e63e0a4a 1019 ./db3/README \
1020 ./db3/clean \
1021 ./db3/tidy \
6c9a3167 1022 ./tq.lcl \
6c9a3167 1023 ./ud2.lcl \
11db3170 1024 ./for/.splintrc \
1025 ./globalbufferannotation/.splintrc \
1026 ./maxset/.splintrc \
1027 ./strchr/.splintrc \
6c9a3167 1028 ./tests2.2/bool.lcl \
6c9a3167 1029 ./tests2.4/subdir/main.lcl \
6c9a3167 1030 ./abstptr.c \
1031 ./alias.c \
1032 ./alias2.c \
1033 ./alias3.c \
1034 ./db1/dbase.c \
1035 ./db1/drive.c \
1036 ./db1/employee.c \
1037 ./db1/empset.c \
1038 ./db1/erc.c \
1039 ./db1/eref.c \
1040 ./db1/ereftab.c \
1041 ./alias4.c \
1042 ./alias5.c \
1043 ./alttypes.c \
1044 ./ansireserved.c \
1045 ./ansireserved2.c \
1046 ./argorder.c \
1047 ./argorder2.c \
1048 ./argorder3.c \
1049 ./argorder4.c \
1050 ./argorder5.c \
1051 ./args.c \
1052 ./arrayinit.c \
37ae0b5e 1053 ./arraylit.c \
6c9a3167 1054 ./blocks.c \
1055 ./branchstate.c \
1056 ./break.c \
1057 ./cases.c \
1058 ./buffertest1.c \
1059 ./cases2.c \
1060 ./cast.c \
1061 ./cast2.c \
755ee3f6 1062 ./chararraylit.c \
6c9a3167 1063 ./charlit.c \
1064 ./clauses.c \
1065 ./clauses2.c \
1066 ./clauses3.c \
1067 ./commentchar.c \
1068 ./commentcmd.c \
1069 ./compdestroy.c \
abd7f895 1070 ./compoundliterals.c ./compoundliterals.expect \
1071 ./compoundstmt.c ./compoundstmt.expect \
6c9a3167 1072 ./csyntax.c \
1073 ./constannot.c \
1074 ./controldepth.c \
1075 ./csyntax10.c \
1076 ./csyntax11.c \
1077 ./csyntax12.c \
1078 ./csyntax13.c \
1079 ./csyntax14.c \
1080 ./csyntax15.c \
1081 ./csyntax16.c \
1082 ./csyntax17.c \
1083 ./csyntax2.c \
1084 ./csyntax3.c \
1085 ./csyntax4.c \
1086 ./csyntax5.c \
1087 ./csyntax6.c \
1088 ./csyntax7.c \
1089 ./csyntax8.c \
1090 ./csyntax9.c \
1091 ./czechnames.c \
1092 ./czechoslovaknames.c \
1093 ./deadparam.c \
1094 ./decl.c \
1095 ./decl2.c \
1096 ./dkf5kEnum.c \
1097 ./dkf5kRange.c \
1098 ./dkf5kSprintf.c \
1099 ./ensures.c \
1100 ./enum.c \
140c27a8 1101 ./enumtag.c \
6c9a3167 1102 ./exports.c \
1103 ./external.c \
1104 ./fields.c \
1105 ./fields2.c \
1106 ./fields3.c \
1107 ./flags.c \
1108 ./glob.c \
1109 ./forbody.c \
1110 ./format.c \
1111 ./freearray.c \
1112 ./funcpointer.c \
1113 ./globals.c \
1114 ./globals2.c \
1115 ./impabstract.c \
1116 ./init.c \
1117 ./innerfree.c \
1118 ./inparam.c \
1119 ./internal.c \
1120 ./iter.c \
1121 ./iter2.c \
1122 ./keep.c \
1123 ./libs.c \
1124 ./linked.c \
1125 ./linked2.c \
1126 ./linked3.c \
1127 ./linked4.c \
1128 ./linked5.c \
1129 ./linked6.c \
1130 ./lintcomments.c \
1131 ./list.c \
1132 ./longconstants.c \
1133 ./macros.c \
1134 ./macrosef.c \
1135 ./merge.c \
1136 ./modclient.c \
1137 ./modifies.c \
1138 ./modtest.c \
1139 ./moduncon.c \
1140 ./mongoincludes.c \
1141 ./mparen.c \
1142 ./mut.c \
1143 ./mystrncat.c \
1144 ./noeffect.c \
1145 ./null1.c \
1146 ./null2.c \
1147 ./null3.c \
1148 ./null4.c \
1149 ./null5.c \
1150 ./db2/dbase.c \
1151 ./db2/drive.c \
1152 ./db2/employee.c \
1153 ./db2/empset.c \
1154 ./db2/erc.c \
1155 ./db2/eref.c \
1156 ./db2/ereftab.c \
1157 ./db2/etest.c \
1158 ./null6.c \
1159 ./nullassign.c \
1160 ./nullret.c \
1161 ./observer.c \
1162 ./oldstyle.c \
1163 ./outglob.c \
1164 ./outparam.c \
1165 ./postnotnull.c \
1166 ./preds.c \
1167 ./prefixes.c \
1168 ./printflike.c \
1169 ./rc.c \
1170 ./refcounts.c \
1171 ./release.c \
1172 ./repexpose.c \
1173 ./returned.c \
1174 ./sharing1.c \
1175 ./sharing2.c \
1176 ./sharing3.c \
1177 ./sharing4.c \
1178 ./sharing5.c \
1179 ./sizeof.c \
1180 ./slovaknames.c \
1181 ./specclauses.c \
1182 ./specclauses2.c \
1183 ./specclauses3.c \
1184 ./specclauses4.c \
1185 ./specclauses5.c \
1186 ./specclauses6.c \
1187 ./special.c \
1188 ./stack.c \
1189 ./staticarray.c \
1190 ./strings.c \
1191 ./structassign.c \
1192 ./switch.c \
1193 ./t1.c \
1194 ./test.c \
1195 ./db3/dbase.c \
1196 ./db3/drive.c \
1197 ./db3/employee.c \
1198 ./db3/empset.c \
1199 ./db3/erc.c \
1200 ./db3/eref.c \
1201 ./db3/ereftab.c \
1202 ./typequals.c \
1203 ./ud.c \
1204 ./ud2.c \
1205 ./ullint.c \
1206 ./ulstypes.c \
1207 ./union.c \
1208 ./unreachable.c \
1209 ./unsignedcompare.c \
288cbc5c 1210 ./unnamedsu.c \
6c9a3167 1211 ./unused.c \
1212 ./void.c \
1213 ./conditions/miroslaw.c \
1214 ./conditions/releases.c \
1215 ./fileio/file.c \
1216 ./fileio/filebranch.c \
1217 ./fileio/filerw.c \
1218 ./for/for.c \
1219 ./globalbufferannotation/globalvariable.c \
1220 ./maxset/maxsetannotations.c \
1221 ./maxset/maxsetnoannotations.c \
1222 ./mergestate/taintednm.c \
1223 ./metastate/file.c \
1224 ./metastate/file1.c \
1225 ./metastate/file2.c \
1226 ./metastate/file3.c \
1227 ./metastate/file4.c \
1228 ./metastate/file5.c \
1229 ./metastate/file6.c \
1230 ./metastate/file7.c \
1231 ./metastate/filebad.c \
1232 ./metastate/global.c \
1233 ./metastate/nullbranch.c \
1234 ./metastate/nullbranch2.c \
1235 ./metastate/nullret.c \
1236 ./metastate/osd.c \
1237 ./metastate/sockets.c \
1238 ./metastate/sockets2.c \
1239 ./metastate/struct.c \
1240 ./metastate/test.c \
1241 ./metastate/voidptr.c \
1242 ./moreBufferTests/initialization.c \
1243 ./moreBufferTests/simplifyTest.c \
1244 ./moreBufferTests/strncatNotReallyGood.c \
1245 ./moreBufferTests/strncatReallyGood.c \
1246 ./moreBufferTests/strrchr.c \
1247 ./moreBufferTests/unrecogCall.c \
1248 ./nullterminatedtest/buggy1.c \
1249 ./nullterminatedtest/buggy_support1.c \
1250 ./nullterminatedtest/buggy_support_fmakeword.c \
1251 ./nullterminatedtest/test1.c \
1252 ./nullterminatedtest/test3.c \
1253 ./simplebufferConstraintTests/m.c \
1254 ./simplebufferConstraintTests/sizeof.c \
1255 ./simplebufferConstraintTests/test3.c \
1256 ./simplebufferConstraintTests/test7.c \
1257 ./sizeoftest/sizeof.c \
d26c9667 1258 ./sizeoftest/sizeofConst.c \
d834a503 1259 ./sizeoftest/Makefile \
6c9a3167 1260 ./strchr/strchr.c \
1261 ./suppressfile/test.c \
1262 ./tainted/sprintf.c \
1263 ./tainted/t1.c \
1264 ./tainted/tainted.c \
1265 ./tainted/tainted2.c \
1266 ./tainted/tainted3.c \
1267 ./tainted/tainted4.c \
1268 ./tainted/tainted5.c \
1269 ./tainted/taintedimplicit.c \
1270 ./tainted/taintedmerge.c \
1271 ./tainted/taintedx.c \
1272 ./tainted/test.c \
1273 ./tclauses/globals.c \
1274 ./tclauses/gt.c \
1275 ./tclauses/modifies.c \
1276 ./tclauses/struct.c \
1277 ./tclauses/undef.c \
1278 ./tests2.2/arbints.c \
1279 ./tests2.2/arrayfcn.c \
1280 ./tests2.2/booldef.c \
1281 ./tests2.2/boolenum.c \
1282 ./tests2.2/boolops.c \
1283 ./tests2.2/break.c \
1284 ./tests2.2/bstring.c \
1285 ./tests2.2/decl.c \
1286 ./tests2.2/enumbool.c \
1287 ./tests2.2/extension.c \
1288 ./tests2.2/libraries.c \
1289 ./tests2.2/modarray.c \
1290 ./tests2.2/nestext.c \
1291 ./tests2.2/offsetof.c \
1292 ./tests2.2/posix.c \
1293 ./tests2.2/realloc.c \
1294 ./tests2.2/rex.c \
1295 ./tests2.2/sizeofarray.c \
1296 ./tests2.2/struct.c \
1297 ./tests2.2a/addassign.c \
1298 ./tests2.2a/arrayparam.c \
1299 ./tests2.2a/bitops.c \
1300 ./tests2.2a/boolcomp.c \
1301 ./tests2.2a/boolenum.c \
1302 ./tests2.2a/dobb.c \
1303 ./tests2.2a/duff.c \
1304 ./tests2.2a/erik.c \
1305 ./tests2.2a/floatdouble.c \
1306 ./tests2.2a/florian.c \
1307 ./tests2.2a/fred.c \
1308 ./tests2.2a/isalpha.c \
1309 ./tests2.2a/notreached.c \
1310 ./tests2.2a/obviousloop.c \
1311 ./tests2.2a/popik.c \
1312 ./tests2.2a/sizeof.c \
1313 ./tests2.2a/toralf.c \
1314 ./tests2.4/subdir/main.c \
1315 ./tests2.4/alignof.c \
1316 ./tests2.4/array.c \
1317 ./tests2.4/bitfields.c \
1318 ./tests2.4/bug1.c \
1319 ./tests2.4/bug2.c \
1320 ./tests2.4/bug3.c \
1321 ./tests2.4/chin.c \
1322 ./tests2.4/cpptest.c \
1323 ./tests2.4/driverstub.c \
1324 ./tests2.4/duffs.c \
1325 ./tests2.4/emptycase.c \
1326 ./tests2.4/enumtest.c \
1327 ./tests2.4/error.c \
1328 ./tests2.4/fink.c \
1329 ./tests2.4/flagequal.c \
1330 ./tests2.4/forward.c \
1331 ./tests2.4/hash.c \
1332 ./tests2.4/hexconstants.c \
1333 ./tests2.4/innercomment.c \
1334 ./tests2.4/komazi.c \
1335 ./tests2.4/longlong.c \
1336 ./tests2.4/main.c \
1337 ./tests2.4/nothing.c \
1338 ./tests2.4/offsetof.c \
1339 ./tests2.4/print.c \
1340 ./tests2.4/ric.c \
1341 ./tests2.4/syncomment.c \
1342 ./tests2.4/syslog.c \
1343 ./tests2.4/test0.c \
1344 ./tests2.4/test1.c \
1345 ./tests2.4/test2.c \
1346 ./tests2.4/timecard.c \
1347 ./tests2.4/toothman.c \
1348 ./tests2.4/ulrich.c \
1349 ./tests2.5/badcomment.c \
1350 ./tests2.5/boolbad.c \
1351 ./tests2.5/boolt.c \
1352 ./tests2.5/booltest.c \
1353 ./tests2.5/dummyfile.c \
1354 ./tests2.5/hoof.c \
1355 ./tests2.5/immutable.c \
1356 ./tests2.5/impabsmodule.c \
1357 ./tests2.5/literals.c \
1358 ./tests2.5/quals.c \
1359 ./tests2.5/sort.c \
1360 ./tests2.5/testalt.c \
1361 ./tests2.5/testimmutable.c \
1362 ./tests2.5/uconstants.c \
1363 ./tests2.5/ull.c \
1364 ./warnuse/warnflags.c \
1365 ./warnuse/warngets.c \
1366 ./warnuse/warnuse.c \
1367 ./moreBufferTests2/unknownsize.c \
1368 ./moreBufferTests2/arrayConstExpr.c \
1369 abstptr.expect \
1370 abstract.expect \
1371 alias.expect \
1372 alttypes.expect \
1373 ansireserved.expect \
1374 argorder.expect \
1375 args.expect \
1376 arrayinit.expect \
37ae0b5e 1377 arraylit.expect \
6c9a3167 1378 blocks.expect \
1379 branchstate.expect \
1380 break.expect \
1381 buffertest.expect \
1382 cases.expect \
1383 cast.expect \
755ee3f6 1384 chararraylit.expect \
6c9a3167 1385 charlit.expect \
1386 clauses.expect \
1387 commentchar.expect \
1388 compdestroy.expect \
1389 constannot.expect \
1390 controldepth.expect \
1391 csyntax.expect \
1392 czechnames.expect \
1393 czechoslovaknames.expect \
1394 db1.expect \
1395 db2.expect \
1396 db3.expect \
1397 deadparam.expect \
1398 decl.expect \
1399 enum.expect \
140c27a8 1400 enumtag.expect \
6c9a3167 1401 exports.expect \
1402 external.expect \
1403 fields.expect \
1404 fileio.expect \
1405 flags.expect \
1406 for.expect \
1407 forbody.expect \
1408 format.expect \
1409 freearray.expect \
1410 funcpointer.expect \
1411 glob.expect \
1412 globalbufferannotation.expect \
1413 globals.expect \
1414 help.expect \
1415 impabstract.expect \
1416 init.expect \
1417 inparam.expect \
1418 internal.expect \
1419 iter.expect \
1420 keep.expect \
1421 libs.expect \
1422 linked.expect \
1423 lintcomments.expect \
1424 list.expect \
1425 longconstants.expect \
1426 macros.expect \
1427 macrosef.expect \
1428 maxset.expect \
1429 merge.expect \
1430 mergestate.expect \
1431 metastate.expect \
1432 modifies.expect \
1433 modtest.expect \
1434 moduncon.expect \
1435 mongoincludes.expect \
1436 moreBufferTests.expect \
1437 moreBufferTests2.expect \
1438 mut.lh.expect \
1439 mystrncat.expect \
1440 noeffect.expect \
1441 null.expect \
1442 nullterminatedtest.expect \
1443 observer.expect \
1444 oldstyle.expect \
1445 outglob.expect \
1446 outparam.expect \
1447 postnotnull.expect \
1448 preds.expect \
1449 prefixes.expect \
1450 printflike.expect \
1451 rc.expect \
1452 refcounts.expect \
1453 release.expect \
1454 repexpose.expect \
1455 repexpose.lh.expect \
1456 returned.expect \
1457 sharing.expect \
1458 simplebufferConstraintTests.expect \
1459 sizeof.expect \
1460 sizeoftest.expect \
1461 slovaknames.expect \
1462 specclauses.expect \
1463 special.expect \
1464 stack.expect \
1465 staticarray.expect \
1466 strchr.expect \
1467 strings.expect \
1468 structassign.expect \
1469 tainted.expect \
1470 tests2.2.expect \
1471 tests2.2a.expect \
1472 tests2.3.expect \
1473 tests2.4.expect \
1474 tests2.5.expect \
1475 typequals.expect \
1476 ud.expect \
1477 ullint.expect \
1478 ulstypes.expect \
1479 union.expect \
288cbc5c 1480 unnamedsu.expect \
6c9a3167 1481 unreachable.expect \
1482 unsignedcompare.expect \
1483 unused.expect \
1484 void.expect \
1485 ./db1/bool.h \
1486 ./db1/dbase.h \
1487 ./db1/employee.h \
1488 ./db1/empset.h \
1489 ./db1/erc.h \
1490 ./db1/eref.h \
1491 ./db1/ereftab.h \
1492 ./bool.h \
1493 ./decl2.h \
1494 ./exports.h \
1495 ./iter.h \
1496 ./iter2.h \
1497 ./minc1.h \
1498 ./minc2.h \
1499 ./minc3.h \
1500 ./minc4.h \
1501 ./minc5.h \
1502 ./modifies.h \
1503 ./mut.h \
1504 ./db2/bool.h \
1505 ./db2/dbase.h \
1506 ./db2/employee.h \
1507 ./db2/empset.h \
1508 ./db2/erc.h \
1509 ./db2/eref.h \
1510 ./db2/ereftab.h \
1511 ./pivo.h \
1512 ./repexpose.h \
1513 ./db3/bool.h \
1514 ./db3/dbase.h \
1515 ./db3/employee.h \
1516 ./db3/empset.h \
1517 ./db3/erc.h \
1518 ./db3/eref.h \
1519 ./db3/ereftab.h \
1520 ./tq.h \
1521 ./metastate/global.h \
1522 ./suppressfile/test.h \
6c9a3167 1523 ./tests2.2/mbool.h \
1524 ./tests2.4/forward.h \
1525 ./tests2.4/hash.h \
1526 ./tests2.4/timecard.h \
1527 ./tests2.5/baz.h \
1528 ./tests2.5/bimbim.h \
1529 ./tests2.5/immutable.h \
1530 ./tests2.5/impabsmodule.h \
1531 ./tests2.5/socket.h \
40fabe26 1532 ./Makefile.os2 \
6c9a3167 1533 ./db1/Makefile \
1534 ./db2/Makefile \
1535 ./db3/Makefile \
1536 ./conditions/Makefile \
1537 ./fileio/Makefile \
1538 ./for/Makefile \
1539 ./globalbufferannotation/Makefile \
1540 ./maxset/Makefile \
1541 ./mergestate/Makefile \
1542 ./metastate/Makefile \
1543 ./moreBufferTests/Makefile \
1544 ./simplebufferConstraintTests/Makefile \
1545 ./strchr/Makefile \
1546 ./tainted/Makefile \
1547 ./temp/Makefile \
6c9a3167 1548 ./tests2.2/Makefile \
1549 ./tests2.2/Makefile-tests2.2.os2 \
6c9a3167 1550 ./tests2.4/Makefile \
1551 ./tests2.4/Makefile-tests2.4.os2 \
1552 ./tests2.5/Makefile \
1553 ./warnuse/Makefile \
1554 ./Makefile.am \
1555 ./Makefile.in \
1556 ./moreBufferTests2/Makefile \
1557 ./fileio/eof.mts ./fileio/file.mts ./fileio/filerw.mts ./mergestate/tainted.mts ./mergestate/taintednm.mts ./metastate/file.mts ./metastate/nullterminated.mts ./metastate/sockets.mts ./tainted/tainted-bad.mts ./tainted/tainted.mts ./fileio/file.xh ./fileio/filerw.xh ./mergestate/tainted.xh ./mergestate/taintednm.xh ./metastate/file.xh ./tainted/tainted.xh \
2bdabb7a 1558 db2.old-expect union.pp warnuse.old-expect \
52e90c0f 1559 ./tests2.5/badcomment ./tests2.5/boolbad ./tests2.5/booltest ./tests2.5/uconstants loopexec.expect mergenull.expect shifts.expect looptesteffect.expect \
2bdabb7a 1560 unioninit.expect unioninit.c utypes.c \
1561 utypes.expect widestrings.expect widestrings.c \
1562 functionmacro.expect functionmacro.c info.c info.expect \
81fc136a 1563 longint.c loopexec.c looptesteffect.c mergenull.c shifts.c \
d33a75bc 1564 longint.expect nullret.expect numabstract.expect \
1565 sizesigns.expect typeof.expect \
2bdabb7a 1566 manual.expect ./manual/Makefile \
98b591d2 1567 ./manual/annotglobs.c ./manual/bool.c ./manual/bool.h ./manual/clauses.c ./manual/employee.h ./manual/exposure.c ./manual/globals.c ./manual/ignore.c ./manual/implicit.c ./manual/intSet.h ./manual/list.c ./manual/loop.c ./manual/macros.c ./manual/modify.c ./manual/mstring.c ./manual/mstring.h ./manual/mstringnn.c ./manual/multiError.c ./manual/names.c ./manual/noeffect.c ./manual/null.c ./manual/only.c ./manual/order.c ./manual/palindrome.c ./manual/palindrome.h ./manual/refs.c ./manual/returned.c ./manual/rgb.c ./manual/rstring.c ./manual/rstring.h ./manual/sample.c ./manual/setChar.c ./manual/setname.c ./manual/setname.h ./manual/special.c ./manual/stack.c ./manual/sumsquares.c ./manual/switch.c ./manual/testpal.c ./manual/types.c ./manual/unique.c ./manual/usedef.c ./manual/bounds.c \
1568 arraydims.expect arraydims.c \
7c39a167 1569 moreBufferTests2/fixedArrayType.c oldstyle2.c \
0feddd04 1570 divzero.expect parentype.expect \
1571 divzero.c parentype.c \
d33a75bc 1572stringliteral.expect stringliteral.c \
1573 numabstract.c sizesigns.c typeof.c nullassign.expect
40fabe26 1574
1575# sizesigns.c sizesigns.expect \
This page took 1.099566 seconds and 5 git commands to generate.