diff options
Diffstat (limited to 'docs/TESTING_WITH_SANITIZERS.md')
-rw-r--r-- | docs/TESTING_WITH_SANITIZERS.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/TESTING_WITH_SANITIZERS.md b/docs/TESTING_WITH_SANITIZERS.md index 642e1f19c9..ef98cf0121 100644 --- a/docs/TESTING_WITH_SANITIZERS.md +++ b/docs/TESTING_WITH_SANITIZERS.md @@ -31,11 +31,11 @@ Note that this will only work with a recent version of mkosi (>= 14 or by runnin ## gcc gcc compiles in sanitizer libraries dynamically by default, so you need to get -the shared libraries first - on Fedora these are shipped as a separate packages +the shared libraries first - on Fedora these are shipped as separate packages (`libasan` for Address Sanitizer and `libubsan` for Undefined Behavior Sanitizer). The compilation itself is then a matter of simply adding `-Db_sanitize=address,undefined` -to `meson`. That's it - following executions of `meson test` and integrations tests +to `meson`. That's it - following executions of `meson test` and integration tests under `test/` subdirectory will run with sanitizers enabled. However, to get truly useful results, you should tweak the runtime configuration of respective sanitizers; e.g. in systemd we set the following environment variables: |