balazske added a comment.

I am not sure if this FEOF thing is such a big problem. The modeling is not 
exact but practically this does not cause big problems and still better than 
before this patch. The problem is, if a `fread` is made and the stream is 
already in **EOF** state the (modeled) `fread` may still succeed or fail again 
with other error, according to the current way of modeling it. The calling 
program must handle still every possible error after `fread` regardless what 
error was there before. I am not sure if false positives can appear because 
this issue.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78374/new/

https://reviews.llvm.org/D78374



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to