github: Add CodeQL workflow

This commit is contained in:
Tobias Brunner
2022-12-05 16:49:07 +01:00
parent b1482f5204
commit 0d3fcd100d
5 changed files with 92 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
queries:
- uses: ./.github/codeql/cpp-queries
query-filters:
# don't explicitly point out FIXME comments
- exclude:
id: cpp/fixme-comment
# this rule produces too many false positives due to our custom specifiers and
# the use of void pointers in swanctl
- exclude:
id: cpp/wrong-type-format-argument