mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 15:29:18 +00:00
Shut up UBSAN
This commit is contained in:
@ -399,15 +399,7 @@ bool UBSANMsg(const char *file, uint32_t line, uint32_t column)
|
|||||||
(line == 48 && column == 28))
|
(line == 48 && column == 28))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (strstr(file, "Task.cpp") &&
|
if (strstr(file, "Task.cpp") && line > 900)
|
||||||
((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;
|
return false;
|
||||||
|
|
||||||
ubsan("\t\tIn File: %s:%i:%i", file, line, column);
|
ubsan("\t\tIn File: %s:%i:%i", file, line, column);
|
||||||
|
Reference in New Issue
Block a user