file1.c: (in function main)
file1.c:10:14: Invalid transfer from implicitly unopen fle to open (unopen file
passed as open): fle
+ file1.c:6:14: Meta state fle becomes implicitly unopen
file1.c:19:16: Invalid transfer from implicitly open fle to unopen (open file
passed as unopen): fle
file1.c:12:3: Meta state fle becomes implicitly open
file4.c: (in function main)
file4.c:15:14: Invalid transfer from implicitly unopen fle to open (unopen file
passed as open): fle
+ file4.c:11:14: Meta state fle becomes implicitly unopen
Finished LCLint checking --- 1 code error found, as expected
file5.c:16:10: Result state fle does not satisfy ensures clause:
ensures open result (state is unopen, should be open): fle
file5.c:13:30: Storage fle becomes dependent
-file5.c:16:10: Dependent storage fle returned as implicitly temp: fle
- file5.c:13:30: Storage fle becomes dependent
file5.c: (in function main)
file5.c:25:14: Invalid transfer from implicitly unopen fle to open (unopen file
passed as open): fle
+ file5.c:21:14: Meta state fle becomes implicitly unopen
file5.c:35:18: Invalid transfer from unopen fle to open (unopen file passed as
open): fle
file5.c:34:3: Meta state fle becomes unopen
-Finished LCLint checking --- 5 code errors found, as expected
+Finished LCLint checking --- 4 code errors found, as expected
file6.c: (in function newOpenBad)
file6.c:20:10: Invalid transfer from unopen res to open (unopen file passed as
Finished LCLint checking --- 2 code errors found, as expected
-filebad.c:1:23: Meta state anntation open used in inconsistent context:
+filebad.c:1:23: Meta state annotation open used in inconsistent context:
int badOpen(FILE *)
-filebad.c:3:12: Meta state anntation open used on inappropriate reference p_x
+filebad.c:3:52: Meta state annotation closed used in inconsistent context:
+ int p_x
+filebad.c:3:12: Meta state annotation open used on inappropriate reference p_x
in ensures open clause of badEnsures: ensures open p_x
-filebad.c:3:12: Meta state anntation closed used on inappropriate reference p_x
- in requires closed clause of badEnsures: requires closed p_x
Finished LCLint checking --- 3 code errors found, as expected