]> andersk Git - splint.git/blobdiff - test/constannot.expect
Made allocations involving sizeof work correctly (test/malloc.c).
[splint.git] / test / constannot.expect
index 87aeb49fe2773ca8ed1276a904273506c93cde45..c0c2071df2135bf6c9c94f0e2d278fe4024e44ae 100644 (file)
@@ -1,15 +1,17 @@
 
 constannot.c: (in function foo2)
-constannot.c:11:3: Possible out-of-bounds store.  Unable to resolve constraint:
+constannot.c:11:3: Possible out-of-bounds store: str[20]
+    Unable to resolve constraint:
     requires maxSet(str @ constannot.c:11:3) >= 20
      needed to satisfy precondition:
     requires maxSet(str @ constannot.c:11:3) >= 20
 constannot.c: (in function foo3)
-constannot.c:20:3: Possible out-of-bounds store.  Unable to resolve constraint:
+constannot.c:20:3: Likely out-of-bounds store: foo(buf)
+    Unable to resolve constraint:
     requires <const int=20> <= 19
      needed to satisfy precondition:
     requires maxSet(buf @ constannot.c:20:8) >= <const int=20>
      derived from foo precondition: requires maxSet(<parameter 1>) >= <const
     int=20>
 
-Finished LCLint checking --- 2 code errors found, as expected
+Finished checking --- 2 code warnings, as expected
This page took 0.034609 seconds and 4 git commands to generate.