balazske added a comment.

The original plan was to enable the check for the functions listed in ERR33-C 
<https://wiki.sei.cmu.edu/confluence/display/c/ERR33-C.+Detect+and+handle+standard+library+errors>.
 But there are many other functions that work in similar way (like `mmap` that 
is not in the list but there is a  request for similar check). The knowledge 
about what functions should be checked and how is built into the checker. 
Unless we find a way to specify this data in an external way, maybe as part of 
"summary" (if the summary contains extra information about what kind of return 
value indicates an error result). The current way of summary 
(`StdLibraryFunctionsChecker`) could be extended to make the summary data 
available for any checker.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72705



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

Reply via email to