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