|
3 | 3 |
|
4 | 4 | - description: Recommended and required queries for Windows Drivers. |
5 | 5 | - import: windows-driver-suites/mustfix.qls |
6 | | -- queries: . |
7 | | - from: microsoft/windows-drivers |
8 | | -- include: |
9 | | - query path: |
10 | | - - drivers/general/queries/AnnotationSyntax/AnnotationSyntax.ql |
11 | | - - drivers/general/queries/CurrentFunctionTypeNotCorrect/CurrentFunctionTypeNotCorrect.ql |
12 | | - - drivers/general/queries/DefaultPoolTag/DefaultPoolTag.ql |
13 | | - - drivers/general/queries/DriverEntrySaveBuffer/DriverEntrySaveBuffer.ql |
14 | | - - drivers/general/queries/ExaminedValue/ExaminedValue.ql |
15 | | - - drivers/general/queries/ExtendedDeprecatedApis/ExtendedDeprecatedApis.ql |
16 | | - - drivers/general/queries/IRPStackEntryCopy/IRPStackEntryCopy.ql |
17 | | - - drivers/general/queries/ImportantFunctionCallOptimizedOut/ImportantFunctionCallOptimizedOut.ql |
18 | | - - drivers/general/queries/ImproperNotOperatorOnZero/ImproperNotOperatorOnZero.ql |
19 | | - - drivers/general/queries/InvalidFunctionClassTypedef/InvalidFunctionClassTypedef.ql |
20 | | - - drivers/general/queries/InvalidFunctionPointerAnnotation/InvalidFunctionPointerAnnotation.ql |
21 | | - - drivers/general/queries/IoInitializeTimerCall/IoInitializeTimerCall.ql |
22 | | - - drivers/general/queries/IrqlAnnotationIssue/IrqlAnnotationIssue.ql |
23 | | - - drivers/general/queries/IrqlCancelRoutine/IrqlCancelRoutine.ql |
24 | | - - drivers/general/queries/IrqlFloatStateMismatch/IrqlFloatStateMismatch.ql |
25 | | - - drivers/general/queries/IrqlNotSaved/IrqlNotSaved.ql |
26 | | - - drivers/general/queries/IrqlNotUsed/IrqlNotUsed.ql |
27 | | - - drivers/general/queries/IrqlSetTooHigh/IrqlSetTooHigh.ql |
28 | | - - drivers/general/queries/IrqlSetTooLow/IrqlSetTooLow.ql |
29 | | - - drivers/general/queries/IrqlTooHigh/IrqlTooHigh.ql |
30 | | - - drivers/general/queries/IrqlTooLow/IrqlTooLow.ql |
31 | | - - drivers/general/queries/KeSetEventPageable/KeSetEventPageable.ql |
32 | | - - drivers/general/queries/MultithreadedAVCondition/MultithreadedAVCondition.ql |
33 | | - - drivers/general/queries/NtstatusExplicitCast/NtstatusExplicitCast.ql |
34 | | - - drivers/general/queries/NtstatusExplicitCast2/NtstatusExplicitCast2.ql |
35 | | - - drivers/general/queries/NtstatusExplicitCast3/NtstatusExplicitCast3.ql |
36 | | - - drivers/general/queries/NullCharacterPointerAssignment/NullCharacterPointerAssignment.ql |
37 | | - - drivers/general/queries/OperandAssignment/OperandAssignment.ql |
38 | | - - drivers/general/queries/PointerVariableSize/PointerVariableSize.ql |
39 | | - - drivers/general/queries/PoolTagIntegral/PoolTagIntegral.ql |
40 | | - - drivers/general/queries/RoleTypeCorrectlyUsed/RoleTypeCorrectlyUsed.ql |
41 | | - - drivers/general/queries/RoutineFunctionTypeNotExpected/RoutineFunctionTypeNotExpected.ql |
42 | | - - drivers/general/queries/StrSafe/StrSafe.ql |
43 | | - - drivers/general/queries/StrictTypeMatch/StrictTypeMatch.ql |
44 | | - - drivers/wdm/queries/IllegalFieldAccess/IllegalFieldAccess.ql |
45 | | - - drivers/wdm/queries/IllegalFieldAccess2/IllegalFieldAccess2.ql |
46 | | - - drivers/wdm/queries/IllegalFieldWrite/IllegalFieldWrite.ql |
47 | | - - drivers/wdm/queries/InitNotCleared/InitNotCleared.ql |
48 | | - - drivers/wdm/queries/KeWaitLocal/KeWaitLocal.ql |
49 | | - - drivers/wdm/queries/MultiplePagedCode/MultiplePagedCode.ql |
50 | | - - drivers/wdm/queries/ObReferenceMode/ObReferenceMode.ql |
51 | | - - drivers/wdm/queries/OpaqueMdlUse/OpaqueMdlUse.ql |
52 | | - - drivers/wdm/queries/OpaqueMdlWrite/OpaqueMdlWrite.ql |
53 | | - - drivers/wdm/queries/PendingStatusError/PendingStatusError.ql |
54 | | - - drivers/wdm/queries/WrongDispatchTableAssignment/WrongDispatchTableAssignment.ql |
55 | | - - microsoft/Likely Bugs/Boundary Violations/PaddingByteInformationDisclosure.ql |
56 | | - - microsoft/Likely Bugs/Conversion/BadOverflowGuard.ql |
57 | | - - microsoft/Likely Bugs/Conversion/InfiniteLoop.ql |
58 | | - - microsoft/Likely Bugs/Memory Management/UseAfterFree/UseAfterFree.ql |
59 | | - - microsoft/Likely Bugs/UninitializedPtrField.ql |
60 | | - - microsoft/Security/Crytpography/HardcodedIVCNG.ql |
61 | 6 | - queries: . |
62 | 7 | from: microsoft/cpp-queries |
63 | | - version: 0.0.2 |
| 8 | + version: 0.0.4 |
64 | 9 | - include: |
65 | 10 | query path: |
66 | | - - Best Practices/Likely Errors/OffsetUseBeforeRangeCheck.ql |
67 | | - - Likely Bugs/Arithmetic/IntMultToLong.ql |
68 | | - - Likely Bugs/Arithmetic/SignedOverflowCheck.ql |
69 | | - - Likely Bugs/Conversion/CastArrayPointerArithmetic.ql |
70 | | - - Likely Bugs/Likely Typos/IncorrectNotOperatorUsage.ql |
71 | | - - Likely Bugs/Memory Management/SuspiciousSizeof.ql |
72 | | - - Likely Bugs/Memory Management/UninitializedLocal.ql |
73 | | - - Security/CWE/CWE-121/UnterminatedVarargsCall.ql |
74 | | - - Security/CWE/CWE-457/ConditionallyUninitializedVariable.ql |
75 | | - - Security/CWE/CWE-468/SuspiciousAddWithSizeof.ql |
76 | | - - Security/CWE/CWE-468/IncorrectPointerScaling.ql |
77 | | - - Security/CWE/CWE-468/IncorrectPointerScalingVoid.ql |
78 | | - - Security/CWE/CWE-676/PotentiallyDangerousFunction.ql |
79 | | - - Security/CWE/CWE-119/OverflowBuffer.ql |
| 11 | + - Likely Bugs/Format/WrongNumberOfFormatArguments.ql |
| 12 | + - Likely Bugs/Memory Management/SuspiciousCallToStrncat.ql |
| 13 | + - Likely Bugs/OO/UnsafeUseOfThis.ql |
| 14 | + - Likely Bugs/Protocols/TlsSettingsMisconfiguration.ql |
| 15 | + - Likely Bugs/Protocols/UseOfDeprecatedHardcodedProtocol.ql |
| 16 | + - Microsoft/Likely Bugs/Conversion/BadOverflowGuard.ql |
| 17 | + - Microsoft/Likely Bugs/Drivers/IncorrectUsageOfRtlCompareMemory.ql |
| 18 | + - Microsoft/Security/Cryptography/BannedEncryption.ql |
| 19 | + - Microsoft/Security/Cryptography/BannedModesCAPI.ql |
| 20 | + - Microsoft/Security/Cryptography/BannedModesCNG.ql |
| 21 | + - Microsoft/Security/Cryptography/HardcodedIVCNG.ql |
| 22 | + - Microsoft/Security/MemoryAccess/EnumIndex/UncheckedBoundsEnumAsIndex.ql |
| 23 | + - Security/CWE/CWE-078/ExecTainted.ql |
| 24 | + - Security/CWE/CWE-114/UncontrolledProcessOperation.ql |
| 25 | + - Security/CWE/CWE-120/BadlyBoundedWrite.ql |
| 26 | + - Security/CWE/CWE-120/OverrunWrite.ql |
| 27 | + - Security/CWE/CWE-131/NoSpaceForZeroTerminator.ql |
| 28 | + - Security/CWE/CWE-170/ImproperNullTerminationTainted.ql |
| 29 | + - Security/CWE/CWE-327/OpenSslHeartbleed.ql |
| 30 | + - Security/CWE/CWE-676/DangerousFunctionOverflow.ql |
| 31 | + - Security/CWE/CWE-676/DangerousUseOfCin.ql |
| 32 | + - Security/CWE/CWE-704/WcharCharConversion.ql |
| 33 | + - Security/CWE/CWE-732/UnsafeDaclSecurityDescriptor.ql |
0 commit comments