1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-25 10:50:08 +03:00

fuzz: Update README

This commit is contained in:
Nick Wellnhofer 2025-03-16 19:12:01 +01:00
parent ee0eda4b12
commit 54c3d42891

View File

@ -12,6 +12,12 @@ meaningful stack traces.
-fno-sanitize-recover=all \
-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION"
Since llvm-symbolizer can use libxml2 itself, you may need the following
wrapper to make sure that it doesn't use the instrumented version of
libxml2:
export ASAN_SYMBOLIZER_PATH="$(pwd)/.gitlab-ci/llvm-symbolizer"
Other options that can improve stack traces:
-fno-omit-frame-pointer