]> andersk Git - splint.git/blob - test/moreBufferTests2.expect
1119c82593e60030a410ac2191d94fdc3e98f4c6
[splint.git] / test / moreBufferTests2.expect
1
2 unknownsize.c: (in function uknSize1)
3 unknownsize.c:9:3: Possible out-of-bounds store:
4     c[9]
5     Unable to resolve constraint:
6     requires maxSet(c @ unknownsize.c:9:3) >= 9
7      needed to satisfy precondition:
8     requires maxSet(c @ unknownsize.c:9:3) >= 9
9
10 Finished checking --- 1 code warning, as expected
11
12 fixedArrayType.c: (in function fixedArrayTouch)
13 fixedArrayType.c:9:3: Possible out-of-bounds store:
14     buffer[sizeof(Array) - 1]
15     Unable to resolve constraint:
16     requires sizeof(Array) @ fixedArrayType.c:9:25 <= 10
17      needed to satisfy precondition:
18     requires maxSet(buffer @ fixedArrayType.c:9:3) >= sizeof(Array) @
19     fixedArrayType.c:9:25 - 1
20
21 Finished checking --- 1 code warning, as expected
This page took 0.203706 seconds and 3 git commands to generate.