From 72df0de8cb579fd96449d19eb57fc71335907a19 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 22 May 2022 23:35:02 +0300 Subject: add @file info to all files + Next step, start documenting contents of each file. --- lib/ubsan.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'lib/ubsan.c') 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 #include -/* 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; -- cgit v1.3