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