mirror of https://github.com/acidanthera/audk.git
498cb29dfd
Replace the current NULL pointer dereference to retrieve Field's offset with a call to OFFSET_OF(). This is implemented via __builtin_offsetof for GCC and Clang, which eliminates UB caught by Clang UndefinedBehaviorSanitizer. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Liming Gao <liming.gao@intel.com> |
||
---|---|---|
.. | ||
AArch64 | ||
Arm | ||
Ebc | ||
Guid | ||
Ia32 | ||
IndustryStandard | ||
Library | ||
Pi | ||
Ppi | ||
Protocol | ||
Uefi | ||
X64 | ||
Base.h | ||
PiDxe.h | ||
PiMm.h | ||
PiPei.h | ||
PiSmm.h | ||
Uefi.h |