aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorBalázs Kéri <1.int32@gmail.com>2022-06-20 09:42:19 +0200
committerBalázs Kéri <1.int32@gmail.com>2022-06-20 10:07:31 +0200
commit60f3b071185bf4be32d5c3376856c573975c912a (patch)
tree13aa870a76127cef21404decc035f8cb7916f5d7 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent0ad4f29b545d849820f0025736c9559c5c439032 (diff)
downloadllvm-60f3b071185bf4be32d5c3376856c573975c912a.zip
llvm-60f3b071185bf4be32d5c3376856c573975c912a.tar.gz
llvm-60f3b071185bf4be32d5c3376856c573975c912a.tar.bz2
[clang][analyzer] Add checker for bad use of 'errno'.
Extend checker 'ErrnoModeling' with a state of 'errno' to indicate the importance of the 'errno' value and how it should be used. Add a new checker 'ErrnoChecker' that observes use of 'errno' and finds possible wrong uses, based on the "errno state". The "errno state" should be set (together with value of 'errno') by other checkers (that perform modeling of the given function) in the future. Currently only a test function can set this value. The new checker has no user-observable effect yet. Reviewed By: martong, steakhal Differential Revision: https://reviews.llvm.org/D122150
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions