X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=README.md;h=722948f294a6894b9ba25dc1a0c51f4d80c36e5c;hb=ef53a2871948fde73e18c468a9454fc0a4b0f108;hp=b001faaaaec07e91b4df09b40a33ecce7514387f;hpb=7a109f20df5f3e09cc7e2d03a8452129b8b8ca87;p=mirror_lxcfs.git diff --git a/README.md b/README.md index b001faa..722948f 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,12 @@ versions: meson compile -C build/ sudo meson install -C build/ +To build with sanitizers you have to specify `-Db_sanitize=...` option to `meson setup`. +For example, to enable ASAN and UBSAN: + + meson setup -Dinit-script=systemd --prefix=/usr build/ -Db_sanitize=address,undefined + meson compile -C build/ + ## Usage The recommended command to run lxcfs is: