]> granicus.if.org Git - clang/commit
[analyzer] Extend UnixAPIChecker open() checks to handle openat().
authorDevin Coughlin <dcoughlin@apple.com>
Fri, 16 Dec 2016 23:31:56 +0000 (23:31 +0000)
committerDevin Coughlin <dcoughlin@apple.com>
Fri, 16 Dec 2016 23:31:56 +0000 (23:31 +0000)
commitd363d001cb65f8d965655b68d5542e037460dd2f
tree624a27d70c51a295126c1dfa27edca6c18f3ca0b
parentf7e51dd6581ead1cdb309bda75a89f6587b9632e
[analyzer] Extend UnixAPIChecker open() checks to handle openat().

The openat() API has similar constraints to the open() API -- it just takes
an extra parameter.

rdar://problem/29526458

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290005 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp
test/Analysis/unix-api.c
test/Analysis/unix-fns.c