]> granicus.if.org Git - clang/commit
[analyzer] UnixAPI: Check when open(2) is called with more than three arguments.
authorJordan Rose <jordan_rose@apple.com>
Wed, 20 Aug 2014 16:58:03 +0000 (16:58 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 20 Aug 2014 16:58:03 +0000 (16:58 +0000)
commit820e69fba6e9221867afadfc9d8db789db1672b1
tree7677c77deb794fb54c3c15197df30ecc52bb4a5c
parent8ecdd0ae6f47b0d36f64c37c0890474a76e42cb6
[analyzer] UnixAPI: Check when open(2) is called with more than three arguments.

Patch by Daniel Fahlgren.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216078 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp
test/Analysis/unix-api.c [new file with mode: 0644]