From 98fa319760509af4e62976a56b66f92035e9a361 Mon Sep 17 00:00:00 2001 From: Abhishek Arya Date: Thu, 19 Nov 2020 10:35:53 -0800 Subject: [PATCH] Improve ujson build.sh to build fuzzers. (#4662) Still ASAN lib preload is missing. --- projects/ujson/build.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/projects/ujson/build.sh b/projects/ujson/build.sh index 1297fb02b..7a6bf52e2 100755 --- a/projects/ujson/build.sh +++ b/projects/ujson/build.sh @@ -15,5 +15,10 @@ # ################################################################################ -# build and install fuzzers -pip3 install . -t $OUT +# Build and install the project package. +pip3 install . + +# Build fuzzers in $OUT. +for fuzzer in $(find $SRC -name '*_fuzzer.py'); do + pyinstaller --distpath $OUT --onefile $fuzzer +done