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