]> andersk Git - splint.git/blobdiff - test/mystrncat.expect
REmoved non-working test from make file and changed .expects to reflect the new messa...
[splint.git] / test / mystrncat.expect
index 11818893db58db4608e16ea569fda4e43226bcf5..8e3d6b8bcb8cf4cdfa90c639d38b12d32f3e5443 100644 (file)
@@ -5,20 +5,18 @@ mystrncat.c:12:13: Passed storage buffer not completely defined (*buffer is
 mystrncat.c:13:13: Passed storage b not completely defined (*b is undefined):
                       mystrncat (b, ...)
 mystrncat.c:12:3: Possible out-of-bounds store.  Unable to resolve constraint:
-    requires: : maxRead ((buffer @ mystrncat.c:12:13 ) )  <=  ( 0 ) 
+    requires maxRead(buffer @ mystrncat.c:12:13) <= 0
      needed to satisfy precondition:
-    requires: : maxSet ((buffer @ mystrncat.c:12:13 ) )  >=  (maxRead ((buffer
-    @ mystrncat.c:12:13 ) )) + (( 255 ) )
-     derived from mystrncat precondition: requires: :
-    maxSet ((<parameter 1> ) )  >=  (maxRead ((<parameter 1> ) )) +
-    ((<parameter 3> ) )
+    requires maxSet(buffer @ mystrncat.c:12:13) >= maxRead(buffer @
+    mystrncat.c:12:13) + 255
+     derived from mystrncat precondition:
+    requires maxSet(<parameter 1>) >= maxRead(<parameter 1>) + <parameter 3>
 mystrncat.c:13:3: Possible out-of-bounds store.  Unable to resolve constraint:
-    requires: : maxRead ((malloc(256) @ mystrncat.c:10:7 ) )  <=  ( 0 ) 
+    requires maxRead(malloc(256) @ mystrncat.c:10:7) <= 0
      needed to satisfy precondition:
-    requires: : maxSet ((b @ mystrncat.c:13:13 ) )  >=  (maxRead ((b @
-    mystrncat.c:13:13 ) )) + (( 255 ) )
-     derived from mystrncat precondition: requires: :
-    maxSet ((<parameter 1> ) )  >=  (maxRead ((<parameter 1> ) )) +
-    ((<parameter 3> ) )
+    requires maxSet(b @ mystrncat.c:13:13) >= maxRead(b @ mystrncat.c:13:13) +
+    255
+     derived from mystrncat precondition:
+    requires maxSet(<parameter 1>) >= maxRead(<parameter 1>) + <parameter 3>
 
 Finished LCLint checking --- 4 code errors found, as expected
This page took 0.072256 seconds and 4 git commands to generate.