edk2/BaseTools/Source/C/Include/Common
Mike Beaton 95c4d1e172 BaseTools: Update OFFSET_OF macro for use with UBSan
Without this change, the macro causes unwanted 'member access within
null pointer' warnings with UBSan.

This is the same macro definition as used in MdePkg/Include/Base.h,
except for removing the legacy `__GNUC__ >= 4` test. Ideally the
orginal macro should have this removed too, as should the several
other instances with similar tests around the codebase, but we leave
that for a separate commit.

Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
2025-12-03 12:29:51 +00:00
..
BaseTypes.h BaseTools: Update OFFSET_OF macro for use with UBSan 2025-12-03 12:29:51 +00:00
BuildVersion.h BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
MdeModuleHii.h BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
PiFirmwareFile.h BaseTools/PiFirmwareFile: fix undefined behavior in SECTION_SIZE 2019-04-24 17:30:57 +02:00
PiFirmwareVolume.h BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
UefiBaseTypes.h BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
UefiCapsule.h BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
UefiInternalFormRepresentation.h BaseTools: Update keybaord map based on UEFI spec 2.10 2024-02-26 15:32:09 +00:00
UefiMultiPhase.h BaseTools: Move MEMORY_TYPE_* Defines to EFI_MEMORY_TYPE Enum 2024-07-26 03:08:20 +00:00
VariableFormat.h BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
WorkingBlockHeader.h BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00