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