|
8 | 8 | # Queries |
9 | 9 | ########################################################################################## |
10 | 10 |
|
11 | | -## Enable When Time is Available to Fix Issues |
12 | | -# Hundreds of issues. Most appear valid. Type: Recommendation. |
13 | | -#- include: |
14 | | -# id: cpp/missing-null-test |
15 | | - |
16 | 11 | ## Errors |
17 | 12 | - include: |
18 | | - id: cpp/overrunning-write |
| 13 | + id: cpp/badoverflowguard |
| 14 | +- include: |
| 15 | + id: cpp/infiniteloop |
| 16 | +- include: |
| 17 | + id: cpp/likely-bugs/memory-management/v2/conditionally-uninitialized-variable |
| 18 | +- include: |
| 19 | + id: cpp/missing-null-test |
19 | 20 | - include: |
20 | | - id: cpp/overrunning-write-with-float |
| 21 | + id: cpp/missing-return |
| 22 | +- include: |
| 23 | + id: cpp/no-space-for-terminator |
21 | 24 | - include: |
22 | 25 | id: cpp/pointer-overflow-check |
| 26 | +- include: |
| 27 | + id: cpp/redundant-null-check-simple |
| 28 | +- include: |
| 29 | + id: cpp/sizeof/const-int-argument |
| 30 | +- include: |
| 31 | + id: cpp/sizeof/sizeof-or-operation-as-argument |
| 32 | +- include: |
| 33 | + id: cpp/unguardednullreturndereferenc |
23 | 34 | - include: |
24 | 35 | id: cpp/very-likely-overrunning-write |
25 | 36 |
|
26 | 37 | ## Warnings |
| 38 | +- include: |
| 39 | + id: cpp/comparison-with-wider-type |
27 | 40 | - include: |
28 | 41 | id: cpp/conditionallyuninitializedvariable |
| 42 | +- include: |
| 43 | + id: cpp/comparison-precedence |
| 44 | +- include: |
| 45 | + id: cpp/implicit-bitfield-downcast |
29 | 46 | - include: |
30 | 47 | id: cpp/infinite-loop-with-unsatisfiable-exit-condition |
| 48 | +- include: |
| 49 | + id: cpp/offset-use-before-range-check |
31 | 50 | - include: |
32 | 51 | id: cpp/overflow-buffer |
| 52 | +- include: |
| 53 | + id: cpp/overflow-calculated |
| 54 | +- include: |
| 55 | + id: cpp/overflow-destination |
| 56 | +- include: |
| 57 | + id: cpp/paddingbyteinformationdisclosure |
| 58 | +- include: |
| 59 | + id: cpp/return-stack-allocated-memory |
| 60 | +- include: |
| 61 | + id: cpp/static-buffer-overflow |
| 62 | +- include: |
| 63 | + id: cpp/unsigned-comparison-zero |
| 64 | +- include: |
| 65 | + id: cpp/uselesstest |
| 66 | + |
| 67 | +## Recommendations |
| 68 | +- include: |
| 69 | + id: cpp/missing-header-guard |
| 70 | +- include: |
| 71 | + id: cpp/unused-local-variable |
| 72 | +- include: |
| 73 | + id: cpp/unused-static-function |
| 74 | +- include: |
| 75 | + id: cpp/unused-static-variable |
33 | 76 |
|
34 | 77 | # Note: Some queries above are not active by default with the below filter. |
35 | 78 | # Update the filter and run the queries again to get all results. |
|
0 commit comments