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