From f49a5bec9fc241c098be5a49233aa83cd5dc098e Mon Sep 17 00:00:00 2001 From: rsheeter Date: Mon, 20 May 2019 20:45:11 -0700 Subject: [PATCH] [docs] Tweak fuzzer doc --- TESTING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/TESTING.md b/TESTING.md index f99ba7c22..4efc64ca5 100644 --- a/TESTING.md +++ b/TESTING.md @@ -24,6 +24,8 @@ make distcheck ### Run tests with asan +**NOTE**: this sometimes yields harder to read results than the full fuzzer + ```shell # For nice symbols tell asan how to symoblize. Note that it doesn't like versioned copies like llvm-symbolizer-3.8 # export ASAN_SYMBOLIZER_PATH=path to version-less llvm-symbolizer @@ -63,7 +65,11 @@ cmake -DHB_CHECK=ON -Bbuild -H. -GNinja && ninja -Cbuild && CTEST_OUTPUT_ON_FAIL # push your changs to a branch on googlefonts/harfbuzz # In a local copy of oss-fuzz, edit projects/harfbuzz/Dockerfile # Change the git clone to pull your branch + +# Do this periodically sudo python infra/helper.py build_image harfbuzz + +# Do these to update/run sudo python infra/helper.py build_fuzzers --sanitizer address harfbuzz sudo python infra/helper.py run_fuzzer harfbuzz hb-subset-fuzzer ```