]> andersk Git - splint.git/blobdiff - test/moreBufferTests2.expect
Made allocations involving sizeof work correctly (test/malloc.c).
[splint.git] / test / moreBufferTests2.expect
index 1119c82593e60030a410ac2191d94fdc3e98f4c6..f46f3b91f9ace814dacc05d5ac0d335315aa58c5 100644 (file)
@@ -1,7 +1,6 @@
 
 unknownsize.c: (in function uknSize1)
-unknownsize.c:9:3: Possible out-of-bounds store:
-    c[9]
+unknownsize.c:9:3: Possible out-of-bounds store: c[9]
     Unable to resolve constraint:
     requires maxSet(c @ unknownsize.c:9:3) >= 9
      needed to satisfy precondition:
@@ -10,8 +9,7 @@ unknownsize.c:9:3: Possible out-of-bounds store:
 Finished checking --- 1 code warning, as expected
 
 fixedArrayType.c: (in function fixedArrayTouch)
-fixedArrayType.c:9:3: Possible out-of-bounds store:
-    buffer[sizeof(Array) - 1]
+fixedArrayType.c:9:3: Possible out-of-bounds store: buffer[sizeof(Array) - 1]
     Unable to resolve constraint:
     requires sizeof(Array) @ fixedArrayType.c:9:25 <= 10
      needed to satisfy precondition:
This page took 0.072973 seconds and 4 git commands to generate.