forked from microsoft/mu_basecore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CodeQlFilters.yml
48 lines (47 loc) · 2.71 KB
/
CodeQlFilters.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
## @file
# CodeQL Result Filters for Packages in Mu Basecore
#
# Note: Packages that use Mu Basecore can reuse this file to quickly pick up the
# same filters applied to results in the Mu Basecore repo.
#
# Copyright (c) Microsoft Corporation
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
"Filters": [
"-CryptoPkg/Library/BaseCryptLib/**/*.c:SM02690",
"-CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c:SM02311",
"-CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c:SM02311",
"-CryptoPkg/Library/BaseCryptLib/SysCall/TimerWrapper.c:SM02320",
"-CryptoPkg/Library/OpensslLib/**/*.c:*",
"-MdeModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.c:SM02311",
"-MdeModulePkg/Core/Pei/Ppi/Ppi.c:cpp/overflow-buffer",
"-MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c:SM02311",
"-MdeModulePkg/Library/UefiBootManagerLib/BmMisc.c:SM02311",
"-MdeModulePkg/Universal/Acpi/S3SaveStateDxe/AcpiS3ContextSave.c:SM02311",
"-MdeModulePkg/Universal/BdsDxe/BdsEntry.c:SM02311",
"-MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c:SM02311",
"-MdeModulePkg/Universal/Disk/UdfDxe/FileName.c:cpp/uselesstest",
"-MdeModulePkg/Universal/Disk/UdfDxe/FileName.c:cpp/uselesstest",
"-MdeModulePkg/Universal/Disk/UdfDxe/FileName.c:cpp/uselesstest",
"-MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c:cpp/uselesstest",
"-MdeModulePkg/Universal/DriverSampleDxe/**:*",
"-MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c:cpp/uselesstest",
"-MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c:cpp/uselesstest",
"-MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/src/**/*.c:*",
"-MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c:SM02311",
"-MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c:SM02311",
"-MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c:SM02311",
# Todo: Exclude for now, needs more review and testing
"-NetworkPkg/Ip6Dxe/Ip6Output.c:SM02313",
# Todo: Exclude for now, needs more review and testing
"-NetworkPkg/Ip6Dxe/Ip6Output.c:cpp/likely-bugs/memory-management/v2/conditionally-uninitialized-variable",
"-ShellPkg/Application/Shell/ShellManParser.c:cpp/redundant-null-check-param",
"-ShellPkg/Application/Shell/ShellProtocol.c:SM02311",
"-ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Aest/AestParser.c:cpp/overflow-buffer",
"-ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Iort/IortParser.c:cpp/overflow-buffer",
"-ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c:SM02311",
"-ShellPkg/Library/UefiShellLevel2CommandsLib/Map.c:SM02311",
"-ShellPkg/Library/UefiShellLevel3CommandsLib/Alias.c:SM02311",
]
}