zfs/.github
Richard Yao 9da745f5de Switch to CodeQL to detect prohibited function use
The LLVM/Clang developers pointed out that using the CPP to detect use
of functions that our QA policies prohibit risks invoking undefined
behavior. To resolve this, we configure CodeQL to detect forbidden
function usage.

Note that cpp in the context of CodeQL refers to C/C++, rather than the
C PreProcessor, which C++ also uses. It really should have been written
cxx, but that ship sailed a long time ago. This misuse of the term cpp
is retained in the CodeQL configuration for consistency with upstream
CodeQL.

As a side benefit, verbose make no longer is a wall of text showing a
bunch of CPP macros, which can make debugging slightly easier.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #15819 
Closes #14134
2024-01-29 14:53:29 -08:00
..
ISSUE_TEMPLATE Update bug report template 2021-07-12 14:05:50 -06:00
codeql/custom-queries/cpp Switch to CodeQL to detect prohibited function use 2024-01-29 14:53:29 -08:00
workflows Switch to CodeQL to detect prohibited function use 2024-01-29 14:53:29 -08:00
CONTRIBUTING.md Document branching structure 2020-09-28 13:23:49 -07:00
PULL_REQUEST_TEMPLATE.md Enable ABI checks for the checkstyle workflow 2020-12-06 09:50:47 -08:00
codecov.yml Moves Codecov Ignore to LCOV 2019-12-17 17:47:58 -08:00
codeql-cpp.yml Switch to CodeQL to detect prohibited function use 2024-01-29 14:53:29 -08:00
codeql-python.yml Switch to CodeQL to detect prohibited function use 2024-01-29 14:53:29 -08:00
no-response.yml Auto close "Status: Feedback requested" after a month 2020-08-30 14:09:54 -07:00
stale.yml StaleBot Tweaks 2020-08-26 09:49:58 -07:00