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