Updated UBSAN

This commit is contained in:
Alex 2022-12-19 23:01:02 +02:00
parent 8062de9844
commit 061edc0f13
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -120,11 +120,11 @@ bool UBSANMsg(const char *file, uint32_t line, uint32_t column)
// blacklist
// if (strstr(file, "liballoc") ||
// strstr(file, "cwalk") ||
// strstr(file, "AdvancedConfigurationandPowerInterface") ||
// strstr(file, "AdvancedConfigurationAndPowerInterface") ||
// strstr(file, "SystemManagementBIOS"))
// return false;
if (strstr(file, "AdvancedConfigurationandPowerInterface.cpp") &&
if (strstr(file, "AdvancedConfigurationAndPowerInterface.cpp") &&
(line == 17 && column == 47))
return false;
@ -149,6 +149,17 @@ bool UBSANMsg(const char *file, uint32_t line, uint32_t column)
(line == 48 && column == 28))
return false;
if (strstr(file, "Task.cpp") &&
((line == 839 && column == 22) ||
(line == 847 && column == 45) ||
(line == 853 && column == 22) ||
(line == 859 && column == 32) ||
(line == 865 && column == 22) ||
(line == 871 && column == 32) ||
(line == 877 && column == 22) ||
(line == 45 && column == 26)))
return false;
ubsan("\t\tIn File: %s:%i:%i", file, line, column);
return true;
}