more UBsan

This commit is contained in:
2026-03-28 21:50:19 +01:00
parent 3cd38f654c
commit 65371077d9
8 changed files with 184 additions and 12 deletions
+14
View File
@@ -0,0 +1,14 @@
/*
* @author xamidev <xamidev@riseup.net>
* @brief Boot routines
* @license GPL-3.0-only
*/
#ifndef BOOT_H
#define BOOT_H
#include <kernel.h>
void populate_boot_context(struct boot_context* boot_ctx);
#endif
+1 -1
View File
@@ -1,6 +1,6 @@
/*
* @author xamidev <xamidev@riseup.net>
* @brief Global Descriptor Table (for legacy reasons)
* @brief Global Descriptor Table
* @license GPL-3.0-only
*/
+7
View File
@@ -56,4 +56,11 @@ struct ubsan_out_of_bounds_data
struct ubsan_type_descriptor* index_type;
};
struct ubsan_overflow_data
{
struct ubsan_source_location location;
struct ubsan_type_descriptor* type;
};
#endif