Deep dive into Clang sanitizer testing with MariaDB

MariaDB uses Clang’s memory, address, and undefined behavior sanitizers are used for identify coding flaws during the continuous development and testing process. MariaDB would like to share via an online event on how easy perform the same sanitizer checking.
The MemorySanitizer environment is particularly onerous to create. Because MariaDB use container based build and testing, we have an environment that can be re-used by anyone.
Our “Deep Dives” were once an internal skills transfer mechanism, however for the first time we’re making it available for anyone to join.
This particular deep dive will cover:
- Basics of MemorySanitizer, Address Santizer and Undefined Behavour Sanitizer;
- How these where packaged in a container;
- For the develop/testing inclined people, how to to take this container and compile MariaDB and run the current tests, or any tests you’d like;
- How to use RR within a container to debug how MariaDB executes a particular test;
- How to take information within a container to create a bug report.
If you have an interest in developing, testing or fuzzing MariaDB with the runtime instrumentation from the Clang project please come along.
The Deep Dive on the 7th May 2025 (2025-05-07) at 07:00 UTC is going to be run via Zoom meeting ID 846 2618 4707.
Image credit: Open Source.com Attribution-ShareAlike 4.0 International