diff options
author | Dmitry V. Levin <ldv@strace.io> | 2023-01-15 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-01-23 22:52:34 +0000 |
commit | e347d53aceaf882c26256bce3867d270a72d20ad (patch) | |
tree | ff2324b3b0c1c667df7e843dd6c4820cc73c80c0 /docs/TESTING_WITH_SANITIZERS.md | |
parent | d8b67e05fbeb9d8ad1b37b1a15add5731a2b7f77 (diff) | |
download | systemd-e347d53aceaf882c26256bce3867d270a72d20ad.tar.gz |
docs: fix grammar a bit
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: |