|
[PATCH 1/1] BaseTools/Scripts/PatchCheck.py: Check for *.makefile
When checking for Makefiles, in addition to Makefile and GNUmakefile, also check for *.makefile: this allows {header,footer,app,lib}.makefile in BaseTools/Source/C/Makefiles to be detected and avoid h
When checking for Makefiles, in addition to Makefile and GNUmakefile, also check for *.makefile: this allows {header,footer,app,lib}.makefile in BaseTools/Source/C/Makefiles to be detected and avoid h
|
By
Rebecca Cran
·
|
|
[PATCH v5 12/12] .github/codeql/edk2.qls: Enable CWE 120, 787, and 805 queries
From: Michael Kubacki <michael.kubacki@...> As recommended by CodeQL this change replaces cpp/potential-buffer-overflow with cpp/overrunning-write-with-float and cpp/overrunning-write. Enables: 1. cpp
From: Michael Kubacki <michael.kubacki@...> As recommended by CodeQL this change replaces cpp/potential-buffer-overflow with cpp/overrunning-write-with-float and cpp/overrunning-write. Enables: 1. cpp
|
By
Michael Kubacki
·
|
|
[PATCH v5 11/12] .github/codeql/edk2.qls: Enable CWE 457, 676, and 758 queries
From: Michael Kubacki <michael.kubacki@...> The previous commits fixed issues with these queries across various packages. Now that those are resolved, enable the queries in the edk2 query set so regre
From: Michael Kubacki <michael.kubacki@...> The previous commits fixed issues with these queries across various packages. Now that those are resolved, enable the queries in the edk2 query set so regre
|
By
Michael Kubacki
·
|
|
[PATCH v5 10/12] UefiCpuPkg: Fix conditionally uninitialized variables
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Cc: Eric Dong <eric.dong@...> Cc: Erich McMillan <emcmillan@...> Cc: Michae
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Cc: Eric Dong <eric.dong@...> Cc: Erich McMillan <emcmillan@...> Cc: Michae
|
By
Michael Kubacki
·
|
|
[PATCH v5 09/12] ShellPkg: Fix conditionally uninitialized variables
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Cc: Erich McMillan <emcmillan@...> Cc: Michael D Kinney <michael.d.kinney@.
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Cc: Erich McMillan <emcmillan@...> Cc: Michael D Kinney <michael.d.kinney@.
|
By
Michael Kubacki
·
|
|
[PATCH v5 08/12] PcAtChipsetPkg: Fix conditionally uninitialized variables
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Cc: Erich McMillan <emcmillan@...> Cc: Michael D Kinney <michael.d.kinney@.
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Cc: Erich McMillan <emcmillan@...> Cc: Michael D Kinney <michael.d.kinney@.
|
By
Michael Kubacki
·
|
|
[PATCH v5 07/12] NetworkPkg: Fix conditionally uninitialized variables
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Cc: Erich McMillan <emcmillan@...> Cc: Jiaxin Wu <jiaxin.wu@...> Cc: Maciej
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Cc: Erich McMillan <emcmillan@...> Cc: Jiaxin Wu <jiaxin.wu@...> Cc: Maciej
|
By
Michael Kubacki
·
|
|
[PATCH v5 06/12] MdePkg: Fix conditionally uninitialized variables
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Note that this change affects the actual return value from the following fu
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Note that this change affects the actual return value from the following fu
|
By
Michael Kubacki
·
|
|
[PATCH v5 05/12] MdeModulePkg: Fix conditionally uninitialized variables
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Cc: Dandan Bi <dandan.bi@...> Cc: Eric Dong <eric.dong@...> Cc: Erich McMil
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Cc: Dandan Bi <dandan.bi@...> Cc: Eric Dong <eric.dong@...> Cc: Erich McMil
|
By
Michael Kubacki
·
|
|
[PATCH v5 04/12] CryptoPkg: Fix conditionally uninitialized variable
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Checks the return value from `ASN1_get_object()` to verify values set by th
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Checks the return value from `ASN1_get_object()` to verify values set by th
|
By
Michael Kubacki
·
|
|
[PATCH v5 03/12] BaseTools/VfrCompile: Fix potential buffer overwrites
From: Michael Kubacki <michael.kubacki@...> While more portable methods exist to handle these cases, this change does not attempt to do more than fix the immediate problem and follow the conventions a
From: Michael Kubacki <michael.kubacki@...> While more portable methods exist to handle these cases, this change does not attempt to do more than fix the immediate problem and follow the conventions a
|
By
Michael Kubacki
·
|
|
[PATCH v5 02/12] BaseTools/PatchCheck.py: Add PCCTS to tab exemption list
From: Michael Kubacki <michael.kubacki@...> Purdue Compiler Construction Tool Set (PCCTS) source code was copied/ pasted into BaseTools/Source/C/VfrCompile/Pccts/. The code contains tab characters ins
From: Michael Kubacki <michael.kubacki@...> Purdue Compiler Construction Tool Set (PCCTS) source code was copied/ pasted into BaseTools/Source/C/VfrCompile/Pccts/. The code contains tab characters ins
|
By
Michael Kubacki
·
|
|
[PATCH v5 01/12] MdeModulePkg/SmbiosDxe: Fix pointer and buffer overflow CodeQL alerts
From: Erich McMillan <emcmillan@...> Details for these CodeQL alerts can be found here: - Pointer overflow check (cpp/pointer-overflow-check): - https://cwe.mitre.org/data/definitions/758.html - Poten
From: Erich McMillan <emcmillan@...> Details for these CodeQL alerts can be found here: - Pointer overflow check (cpp/pointer-overflow-check): - https://cwe.mitre.org/data/definitions/758.html - Poten
|
By
Michael Kubacki
·
|
|
[PATCH v5 00/12] Enable New CodeQL Queries
From: Michael Kubacki <michael.kubacki@...> Adds queries for the following: 1. cpp/conditionallyuninitializedvariable 2. cpp/pointer-overflow-check 3. cpp/overrunning-write 4. cpp/overrunning-write-wi
From: Michael Kubacki <michael.kubacki@...> Adds queries for the following: 1. cpp/conditionallyuninitializedvariable 2. cpp/pointer-overflow-check 3. cpp/overrunning-write 4. cpp/overrunning-write-wi
|
By
Michael Kubacki
·
|
|
[PATCH v4 10/12] UefiCpuPkg: Fix conditionally uninitialized variables
6 messages
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Cc: Eric Dong <eric.dong@...> Cc: Erich McMillan <emcmillan@...> Cc: Michae
From: Michael Kubacki <michael.kubacki@...> Fixes CodeQL alerts for CWE-457: https://cwe.mitre.org/data/definitions/457.html Cc: Eric Dong <eric.dong@...> Cc: Erich McMillan <emcmillan@...> Cc: Michae
|
By
Michael Kubacki
·
|
|
[PATCH v1 2/2] OvmfPkg/RiscVVirt: Enable CMO support
Cc: Sunil V L <sunilvl@...> Cc: Andrei Warkentin <andrei.warkentin@...> Cc: Daniel Schaefer <git@...> Signed-off-by: Dhaval Sharma <dhaval@...> Add support for Cache Management Operations --- OvmfPkg/
Cc: Sunil V L <sunilvl@...> Cc: Andrei Warkentin <andrei.warkentin@...> Cc: Daniel Schaefer <git@...> Signed-off-by: Dhaval Sharma <dhaval@...> Add support for Cache Management Operations --- OvmfPkg/
|
By
Dhaval Sharma
·
|
|
[PATCH v1 1/2] MdePkg/BaseCacheMaintenanceLib: Enable RISCV CMO
Adding code to support Cache Management Operations (CMO) defined by RV spec https://github.com/riscv/riscv-CMOs Notes: 1. CMO only supports block based Operations. Meaning complete cache flush/invd/cl
Adding code to support Cache Management Operations (CMO) defined by RV spec https://github.com/riscv/riscv-CMOs Notes: 1. CMO only supports block based Operations. Meaning complete cache flush/invd/cl
|
By
Dhaval Sharma
·
|
|
[PATCH v1 0/2] WIP: Enable CMO support for RiscV64
Current implementation for cache management (instruction/data flush/invd) depends on ifence instruction. All RV platforms may not use the same method for cache management. Instead RV defines CMO Cache
Current implementation for cache management (instruction/data flush/invd) depends on ifence instruction. All RV platforms may not use the same method for cache management. Instead RV defines CMO Cache
|
By
Dhaval Sharma
·
|
|
[PATCH 1/1] UefiCpuPkg/PiSmmCpuDxeSmm: fix format string
6 messages
BufferPages is UINTN, so we need "%Lu" when printing it. Fixes: 4f441d024bee ("UefiCpuPkg/PiSmmCpuDxeSmm: fix error handling") Reported-by: Laszlo Ersek <lersek@...> Signed-off-by: Gerd Hoffmann <krax
BufferPages is UINTN, so we need "%Lu" when printing it. Fixes: 4f441d024bee ("UefiCpuPkg/PiSmmCpuDxeSmm: fix error handling") Reported-by: Laszlo Ersek <lersek@...> Signed-off-by: Gerd Hoffmann <krax
|
By
Gerd Hoffmann
·
|
|
[PATCH 3/8] BaseTools: remove duplicate includes: IndustryStandard/Acpi*.h
2 messages
Use the MdePkg version instead of maintaining a copy in BaseTools. Signed-off-by: Gerd Hoffmann <kraxel@...> --- .../Source/C/Include/IndustryStandard/Acpi.h | 117 --- .../C/Include/IndustryStandard/A
Use the MdePkg version instead of maintaining a copy in BaseTools. Signed-off-by: Gerd Hoffmann <kraxel@...> --- .../Source/C/Include/IndustryStandard/Acpi.h | 117 --- .../C/Include/IndustryStandard/A
|
By
Gerd Hoffmann
·
|