diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-02-25 00:20:35 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-02-25 00:20:35 +0000 |
commit | 381d1bf0eeabccac1ba64909cad73d2ee963897b (patch) | |
tree | 1612c00ace7b1e1c2bfce6429e35964aee0ee34f /lib/Checker/GRExprEngineInternalChecks.h | |
parent | 85fe6f191572453d1a527d19d1502d7013e9035f (diff) |
Add UnixAPIChecker, a meta checker to include various precondition checks for calls
to various unix/posix functions, e.g. 'open()'.
As a first check, check that when 'open()' is passed 'O_CREAT' that it has
a third argument.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97086 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/GRExprEngineInternalChecks.h')
-rw-r--r-- | lib/Checker/GRExprEngineInternalChecks.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Checker/GRExprEngineInternalChecks.h b/lib/Checker/GRExprEngineInternalChecks.h index 9877626984..a4bcd72143 100644 --- a/lib/Checker/GRExprEngineInternalChecks.h +++ b/lib/Checker/GRExprEngineInternalChecks.h @@ -44,6 +44,7 @@ void RegisterVLASizeChecker(GRExprEngine &Eng); // API checks. void RegisterOSAtomicChecker(GRExprEngine &Eng); +void RegisterUnixAPIChecker(GRExprEngine &Eng); } // end clang namespace #endif |