mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Updated UBSAN
This commit is contained in:
parent
8062de9844
commit
061edc0f13
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user