Update CodeQL filters.

This commit is contained in:
Michael R Sweet 2024-03-06 17:04:22 -05:00
parent 6715b91540
commit 30fedd64d8
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244

48
.github/codeql.yml vendored Normal file
View File

@ -0,0 +1,48 @@
paths-ignore:
- testsuite
query-filters:
- exclude:
id: cpp/commented-out-code
- exclude:
id: cpp/include-non-header
- exclude:
id: cpp/integer-multiplication-cast-to-long
- exclude:
id: cpp/missing-header-guard
- exclude:
id: cpp/short-global-name
- exclude:
id: cpp/tainted-format-string
- exclude:
id: cpp/toctou-race-condition
- exclude:
id: cpp/world-writable-file-creation
- exclude:
id: cpp/path-injection
- exclude:
id: cpp/stack-address-escape
- exclude:
id: cpp/loop-variable-changed
- exclude:
id: cpp/long-switch
- exclude:
id: cpp/complex-condition
- exclude:
id: cpp/complex-block
- exclude:
id: cpp/poorly-documented-function
- exclude:
id: cpp/loop-variable-changed
- exclude:
id: cpp/irregular-enum-init
- exclude:
id: cpp/user-controlled-bypass
- exclude:
id: cpp/non-constant-format
- exclude:
id: cpp/missing-check-scanf
- exclude:
id: cpp/nested-loops-with-same-variable
- exclude:
id: cpp/stack-address-escape