]> andersk Git - splint.git/blobdiff - test/maxset.expect
Made allocations involving sizeof work correctly (test/malloc.c).
[splint.git] / test / maxset.expect
index 35e2d2f39628109740364436b28d559e6e6f6bfe..306c5d1525477d4a2dc1ffabc5e4f3876b7a2c79 100644 (file)
@@ -1,15 +1,15 @@
 
-Finished LCLint checking --- no code errors found
+Finished checking --- no warnings
 
 maxsetnoannotations.c: (in function noancopy)
-maxsetnoannotations.c:2:3: Possible out-of-bounds store.  Unable to resolve
-    constraint:
-    requires: : maxSet ((a @ maxsetnoannotations.c:2:11 ) )  >=  maxRead ((b @
-    maxsetnoannotations.c:2:13 ) )
+maxsetnoannotations.c:2:3: Possible out-of-bounds store: strcpy(a, b)
+    Unable to resolve constraint:
+    requires maxSet(a @ maxsetnoannotations.c:2:11) >= maxRead(b @
+    maxsetnoannotations.c:2:13)
      needed to satisfy precondition:
-    requires: : maxSet ((a @ maxsetnoannotations.c:2:11 ) )  >=  maxRead ((b @
-    maxsetnoannotations.c:2:13 ) )
-     derived from strcpy precondition: requires: :
-    maxSet ((<parameter 1> ) )  >=  maxRead ((<parameter 2> ) )
+    requires maxSet(a @ maxsetnoannotations.c:2:11) >= maxRead(b @
+    maxsetnoannotations.c:2:13)
+     derived from strcpy precondition: requires maxSet(<parameter 1>) >=
+    maxRead(<parameter 2>)
 
-Finished LCLint checking --- 1 code error found, as expected
+Finished checking --- 1 code warning, as expected
This page took 0.056021 seconds and 4 git commands to generate.