forked from pepper-org/pepperOS
more UBsan
This commit is contained in:
@@ -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
@@ -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
|
||||
*/
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user