From 5becc15ed7e3ef3d2cec21c99f680a7fc67a52c1 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 7 Apr 2023 01:38:31 +0300 Subject: [PATCH] Fix ubsan blacklist --- Core/UndefinedBehaviorSanitization.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Core/UndefinedBehaviorSanitization.c b/Core/UndefinedBehaviorSanitization.c index a437f3b..ee23b7b 100644 --- a/Core/UndefinedBehaviorSanitization.c +++ b/Core/UndefinedBehaviorSanitization.c @@ -386,14 +386,14 @@ bool UBSANMsg(const char *file, uint32_t line, uint32_t column) { /* This can be ignored (unaligned memory access) */ if (strstr(file, "AdvancedConfigurationAndPowerInterface.cpp") && - (line == 17 && column == 47)) + (line == 34 && column == 47)) return false; /* This can be ignored (unaligned memory access) */ if (strstr(file, "SystemManagementBIOS.cpp") && - ((line == 30 && column == 21) || - (line == 27 && column == 49) || - (line == 45 && column == 26))) + ((line == 47 && column == 21) || + (line == 44 && column == 49) || + (line == 62 && column == 26))) return false; /* This can be ignored (unaligned memory access) */