diff options
Diffstat (limited to 'lib/ubsan.c')
| -rw-r--r-- | lib/ubsan.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/ubsan.c b/lib/ubsan.c index 7f4df2a..8b103df 100644 --- a/lib/ubsan.c +++ b/lib/ubsan.c @@ -1,10 +1,14 @@ +/** + * @file ubsan.c + * Tiny undefined behaviour sanitizer, mostly lifted from + * https://github.com/Abb1x/tinyubsan/blob/master/src/tinyubsan.c + * + * \todo: Add in more runtime info. + */ + #include <apos/types.h> #include <apos/debug.h> -/* mostly lifted from https://github.com/Abb1x/tinyubsan/blob/master/src/tinyubsan.c */ -/* TODO: while this is really useful, it would probably be a good idea to add in - * more runtime info, see linux for example */ - struct tu_source_location { const char *file; uint32_t line; |
