diff options
| author | Mike Beaton <mjsbeaton@gmail.com> | 2025-11-19 10:03:58 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-12-03 15:29:51 +0300 |
| commit | 95c4d1e17224ea06ccbf31acbc67c12d9c94e0c2 (patch) | |
| tree | d489588e655f340cc11220cbac105973bc056afa /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h | |
| parent | e17e5ddd14dae81f8aa9f1fa0b2fc9e03c177344 (diff) | |
| download | edk2-95c4d1e17224ea06ccbf31acbc67c12d9c94e0c2.tar.xz | |
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>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions
