[all-commits] [llvm/llvm-project] 811b17: [analyzer] Add InvalidPtrChecker
Zuka Tsinadze via All-commits
all-commits at lists.llvm.org
Mon Oct 4 08:13:35 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 811b1736d91b301f59fbaa148ff55c32f90a3947
https://github.com/llvm/llvm-project/commit/811b1736d91b301f59fbaa148ff55c32f90a3947
Author: Zurab Tsinadze <zurab.tsinadze at ericsson.com>
Date: 2021-10-04 (Mon, 04 Oct 2021)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
A clang/lib/StaticAnalyzer/Checkers/cert/InvalidPtrChecker.cpp
A clang/test/Analysis/cert/env31-c.c
A clang/test/Analysis/cert/env34-c-cert-examples.c
A clang/test/Analysis/cert/env34-c.c
Log Message:
-----------
[analyzer] Add InvalidPtrChecker
This patch introduces a new checker: `alpha.security.cert.env.InvalidPtr`
Checker finds usage of invalidated pointers related to environment.
Based on the following SEI CERT Rules:
ENV34-C: https://wiki.sei.cmu.edu/confluence/x/8tYxBQ
ENV31-C: https://wiki.sei.cmu.edu/confluence/x/5NUxBQ
Reviewed By: martong
Differential Revision: https://reviews.llvm.org/D97699
More information about the All-commits
mailing list