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