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