From 983fb418026057bec0a77202ea89dc085fdbe9ce Mon Sep 17 00:00:00 2001 From: wanweiqiangintel Date: Thu, 1 Dec 2022 06:26:58 +0800 Subject: [PATCH 1/2] Update README.md (#1925) Add a real-word usage --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d00d1ac51..a298cbf99 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,7 @@ Real-world usage - [Shopify HeapProfiler](https://github.com/Shopify/heap-profiler) - [StarRocks](https://github.com/StarRocks/starrocks) - [Microsoft FishStore](https://github.com/microsoft/FishStore) +- [Intel PCM](https://github.com/intel/pcm) If you are planning to use simdjson in a product, please work from one of our releases. From 0b2891aaab521326999ec634bfe66ad8e4d6a5bf Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Thu, 1 Dec 2022 14:26:17 -0500 Subject: [PATCH 2/2] Trying fuzzer with llvm 14. (#1922) --- .github/workflows/fuzzers.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/fuzzers.yml b/.github/workflows/fuzzers.yml index dbc2f2efa..b7a97303f 100644 --- a/.github/workflows/fuzzers.yml +++ b/.github/workflows/fuzzers.yml @@ -24,7 +24,7 @@ jobs: implementations: haswell westmere fallback UBSAN_OPTIONS: halt_on_error=1 MAXLEN: -max_len=4000 - CLANGVERSION: 11 + CLANGVERSION: 14 # which optimization level to use for the sanitizer build (see build_fuzzer.variants.sh) OPTLEVEL: -O3 @@ -50,12 +50,12 @@ jobs: path: out/ key: corpus-${{ github.run_id }} restore-keys: corpus- - + - name: show statistics for the cached corpus run: | echo number of files in github action corpus cache: find out -type f |wc -l - + - name: Create and prepare the initial seed corpus run: | fuzz/build_corpus.sh @@ -92,7 +92,7 @@ jobs: export SIMDJSON_FORCE_IMPLEMENTATION=$implementation build-sanitizers$OPTLEVEL/fuzz/fuzz_$fuzzer out/$fuzzer $others seedcorpus -max_total_time=20 $MAXLEN done - echo now have $(ls out/$fuzzer |wc -l) files in corpus + echo now have $(ls out/$fuzzer |wc -l) files in corpus done - name: Fuzz differential impl. fuzzers with sanitizer+asserts (good at detecting errors) @@ -119,7 +119,7 @@ jobs: - name: Package the corpus into an artifact run: | - for fuzzer in $defaultimplfuzzers $implfuzzers; do + for fuzzer in $defaultimplfuzzers $implfuzzers; do tar rf corpus.tar out/$fuzzer done @@ -141,7 +141,7 @@ jobs: run: | for fuzzer in $defaultimplfuzzers $implfuzzers; do find out/$fuzzer -type f |sort|head -n200|xargs -n40 valgrind build-replay/fuzz/fuzz_$fuzzer 2>&1|tee valgrind-$fuzzer.txt - done + done - name: Compress the valgrind output run: tar cf valgrind.tar valgrind-*.txt