]> andersk Git - splint.git/blame - test/moreBufferTests.expect
Fixed bugs in the constant removal code for binary expressions.
[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
6initialization.c:8:3: Unresolved constraint:
7 Lclint is unable to resolve Requires: : MAXSET ((d @ initialization.c:3:14
8 ) ) >= ( 2 ) needed to satisfy Requires: :
9 MAXSET ((f @ initialization.c:8:3 ) ) >= ( 2 )
10initialization.c:5:14: Unresolved constraint:
11 Lclint is unable to resolve Requires: : MAXREAD ((d @ initialization.c:3:14
12 ) ) >= ( 22 ) needed to satisfy Requires: :
13 MAXREAD ((e @ initialization.c:5:14 ) ) >= ( 22 )
14simplifyTest.c: (in function fooSub)
15simplifyTest.c:3:3: Unresolved constraint:
16 Lclint is unable to resolve Requires: : MAXSET ((s @ simplifyTest.c:3:3 ) )
17 >= (i @ simplifyTest.c:3:5 ) needed to satisfy Requires: :
18 MAXSET ((s @ simplifyTest.c:3:3 ) ) >= (i @ simplifyTest.c:3:5 )
19simplifyTest.c: (in function fooAdd)
20simplifyTest.c:10:3: Unresolved constraint:
21 Lclint is unable to resolve Requires: : MAXSET ((s @ simplifyTest.c:10:3 )
22 ) >= ((i @ simplifyTest.c:10:5 ) ) + (( 2 ) ) needed to satisfy Requires:
23 : MAXSET ((s @ simplifyTest.c:10:3 ) ) >= ((i @ simplifyTest.c:10:5 ) ) +
24 (( 2 ) )
6e5d6478 25strncatNotReallyGood.c: (in function NotGoodfunc)
26strncatNotReallyGood.c:4:29: Passed storage buffer not completely defined
27 (*buffer is undefined): strncat (buffer, ...)
28strncatNotReallyGood.c:4:21: Unresolved constraint:
29 Lclint is unable to resolve Requires: :
30 MAXREAD ((buffer @ strncatNotReallyGood.c:4:29 ) ) <= ( 0 ) needed to
31 satisfy Requires: : MAXSET ((buffer @ strncatNotReallyGood.c:4:29 ) ) >=
32 (MAXREAD ((buffer @ strncatNotReallyGood.c:4:29 ) )) + (( 255 ) )
80ee600a 33
6e5d6478 34Finished LCLint checking --- 8 code errors found
This page took 0.05509 seconds and 5 git commands to generate.