Skip to content

Commit b2aa6c3

Browse files
committed
Update CodeQL configuration to disable useless/misleading queries.
1 parent 83b9ab5 commit b2aa6c3

1 file changed

Lines changed: 35 additions & 1 deletion

File tree

.github/codeql.yml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
paths-ignore:
2-
- '**/test*.c'
2+
- 'cups/test*.c'
33

44
query-filters:
55
- exclude:
@@ -12,3 +12,37 @@ query-filters:
1212
id: cpp/tainted-format-string
1313
- exclude:
1414
id: cpp/toctou-race-condition
15+
- exclude:
16+
id: cpp/world-writable-file-creation
17+
- exclude:
18+
id: cpp/user-controlled-bypass
19+
- exclude:
20+
id: cpp/uncontrolled-allocation-size
21+
- exclude:
22+
id: cpp/path-injection
23+
- exclude:
24+
id: cpp/missing-check-scanf
25+
- exclude:
26+
id: cpp/offset-use-before-range-check
27+
- exclude:
28+
id: cpp/inconsistent-null-check
29+
- exclude:
30+
id: cpp/nested-loops-with-same-variable
31+
- exclude:
32+
id: cpp/stack-address-escape
33+
- exclude:
34+
id: cpp/poorly-documented-function
35+
- exclude:
36+
id: cpp/loop-variable-changed
37+
- exclude:
38+
id: cpp/irregular-enum-init
39+
- exclude:
40+
id: cpp/include-non-header
41+
- exclude:
42+
id: cpp/commented-out-code
43+
- exclude:
44+
id: cpp/long-switch
45+
- exclude:
46+
id: cpp/complex-condition
47+
- exclude:
48+
id: cpp/complex-block

0 commit comments

Comments
 (0)