[PATCH] D72705: [analyzer] Added new checker 'alpha.unix.ErrorReturn'.
Gabor Marton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 12 06:35:25 PDT 2020
martong added a comment.
In D72705#2199333 <https://reviews.llvm.org/D72705#2199333>, @balazske wrote:
> Test results for tmux are available here <https://codechecker-demo.eastus.cloudapp.azure.com/Default/reports?run=tmux_errorreturn&review-status=Unreviewed&review-status=Confirmed%20bug&detection-status=New&detection-status=Reopened&detection-status=Unresolved>. (Could not manage to get other results uploaded.)
>
> This test was done with an improved version of the checker that detects functions with possible NULL return value. (These functions are listed in the CERT ERR33-C rule, even if it is "impossible" that these fail the rule says that all of these should be checked.) Note tags here are experimental and not finished.
Seems like the findings are mostly related to time management functions. So, it would be interesting to see how the results correlate/divergate to the StdLibraryFunctionChecker's POSIX time handling patch <https://reviews.llvm.org/D84248> (this is a task for me to do the measurements).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72705/new/
https://reviews.llvm.org/D72705
More information about the cfe-commits
mailing list