aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/sanitizer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/sanitizer.c')
-rw-r--r--src/vppinfra/sanitizer.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vppinfra/sanitizer.c b/src/vppinfra/sanitizer.c
new file mode 100644
index 00000000000..fab1cdca136
--- /dev/null
+++ b/src/vppinfra/sanitizer.c
@@ -0,0 +1,7 @@
+#ifdef CLIB_SANITIZE_ADDR
+
+#include <vppinfra/sanitizer.h>
+
+__clib_export clib_sanitizer_main_t sanitizer_main = { .shadow_scale = ~0 };
+
+#endif /* CLIB_SANITIZE_ADDR */