]> andersk Git - splint.git/blame - test/moreBufferTests.expect
Made cosmetic improves to messages.
[splint.git] / test / moreBufferTests.expect
CommitLineData
80ee600a 1
2unrecogCall.c: (in function foo)
3unrecogCall.c:8:3: Unrecognized identifier: bar
dcf136ce 4initialization.c: (in function initialization)
5initialization.c:5:10: Variable g declared but not used
03d670b6 6initialization.c:8:3: Possible out-of-bounds store. Unable to resolve
7 constraint:
8 requires: : maxSet ((d @ initialization.c:3:14 ) ) >= ( 2 )
9 needed to satisfy precondition:
10 requires: : maxSet ((f @ initialization.c:8:3 ) ) >= ( 2 )
11initialization.c:5:14: Possible out-of-bounds read. Unable to resolve
12 constraint:
13 requires: : maxRead ((d @ initialization.c:3:14 ) ) >= ( 22 )
14 needed to satisfy precondition:
15 requires: : maxRead ((e @ initialization.c:5:14 ) ) >= ( 22 )
dcf136ce 16simplifyTest.c: (in function fooSub)
03d670b6 17simplifyTest.c:3:3: Possible out-of-bounds store. Unable to resolve
18 constraint:
19 requires: : maxSet ((s @ simplifyTest.c:3:3 ) ) >= (i @
20 simplifyTest.c:3:5 )
21 needed to satisfy precondition:
22 requires: : maxSet ((s @ simplifyTest.c:3:3 ) ) >= (i @
23 simplifyTest.c:3:5 )
dcf136ce 24simplifyTest.c: (in function fooAdd)
03d670b6 25simplifyTest.c:10:3: Possible out-of-bounds store. Unable to resolve
26 constraint:
27 requires: : maxSet ((s @ simplifyTest.c:10:3 ) ) >= ((i @
28 simplifyTest.c:10:5 ) ) + (( 2 ) )
29 needed to satisfy precondition:
30 requires: : maxSet ((s @ simplifyTest.c:10:3 ) ) >= ((i @
31 simplifyTest.c:10:5 ) ) + (( 2 ) )
6e5d6478 32strncatNotReallyGood.c: (in function NotGoodfunc)
33strncatNotReallyGood.c:4:29: Passed storage buffer not completely defined
34 (*buffer is undefined): strncat (buffer, ...)
03d670b6 35strncatNotReallyGood.c:4:21: Possible out-of-bounds store. Unable to resolve
36 constraint:
37 requires: : maxRead ((buffer @ strncatNotReallyGood.c:4:29 ) ) <= ( 0 )
38 needed to satisfy precondition:
39 requires: : maxSet ((buffer @ strncatNotReallyGood.c:4:29 ) ) >= (maxRead
40 ((buffer @ strncatNotReallyGood.c:4:29 ) )) + (( 255 ) )
a7b6931c 41 derived from strncat precondition: requires: :
42 maxSet ((<parameter 1> ) ) >= (maxRead ((<parameter 1> ) )) +
43 ((<parameter 3> ) )
80ee600a 44
6e5d6478 45Finished LCLint checking --- 8 code errors found
This page took 0.175356 seconds and 5 git commands to generate.