edk2/BaseTools/Source/C
Michael D Kinney f26760f5e2 BaseTools/Source/C/Makefiles: Detect cycle in pids
Update _get_win32_parent_processes() to detect a
cycle in parent process ids that can cause
_get_win32_parent_processes() to never return.

If a pid cycle is detected, then return the list
of parent process ids detected up to the point
the cycle is detected.

GitHub Actions builds using windows-2025 can
reproduce this issue once in a while. It shows
up as job that runs until a timeout. If the job
is canceled, the logs show a python stack in the
loop in _get_win32_parent_processes().

Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
2026-01-06 06:27:41 +00:00
..
BrotliCompress BaseTools: Fix multiple security vulnerabilities (Defense in Depth) 2025-12-22 04:53:27 +00:00
Common BaseTools: Fix multiple security vulnerabilities (Defense in Depth) 2025-12-22 04:53:27 +00:00
DevicePath BaseTools: GNUMakefiles must use CMD.EXE in Windows 2025-12-24 02:03:38 +00:00
EfiRom BaseTools: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
GenCrc32 BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GenFfs BaseTools: Adding support of building BaseTool on Windows ARM/ARM64 2024-12-20 22:57:04 +00:00
GenFv BaseTools: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
GenFw BaseTools/GenFw: Ignore R_*_NONE relocations on all architectures 2025-12-24 10:58:20 +00:00
GenSec BaseTools: Support custom library build for base tools on Linux ARM 2024-12-20 22:57:04 +00:00
Include BaseTools: Update OFFSET_OF macro for use with UBSan 2025-12-03 12:29:51 +00:00
LzmaCompress BaseTools: Allow users to specify compiler to use with make CC= CXX= 2023-04-05 15:44:48 +00:00
Makefiles BaseTools/Source/C/Makefiles: Detect cycle in pids 2026-01-06 06:27:41 +00:00
PyEfiCompressor BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
TianoCompress BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
VfrCompile BaseTools: GNUMakefiles must use CMD.EXE in Windows 2025-12-24 02:03:38 +00:00
VolInfo BaseTools: Fix multiple security vulnerabilities (Defense in Depth) 2025-12-22 04:53:27 +00:00
GNUmakefile BaseTools: GNUMakefiles must use CMD.EXE in Windows 2025-12-24 02:03:38 +00:00
Makefile BaseTools: Adding cross compilation of BaseTool for Windows ARM/ARM64 2024-12-20 22:57:04 +00:00