mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 06:12:55 +00:00
c61a4000d8
Implement activity.Scheduler to serialize and limit the number of calls on the activity service. This way we protect form inefficient parallel queries and easy support async and rate limiting based on the API requirements. Refactor the activity APIs async and use the Scheduler for managing the activity service calls configured with one of the two rules: cancel ignore. Updates status-desktop #11170
48 lines
1.8 KiB
Bash
48 lines
1.8 KiB
Bash
#!/bin/bash -eu
|
|
|
|
git clone https://github.com/dvyukov/go-fuzz-corpus
|
|
zip corpus.zip go-fuzz-corpus/json/corpus/*
|
|
|
|
cp corpus.zip $OUT/fuzzparsestring_seed_corpus.zip
|
|
compile_go_fuzzer github.com/buger/jsonparser FuzzParseString fuzzparsestring
|
|
|
|
cp corpus.zip $OUT/fuzzeachkey_seed_corpus.zip
|
|
compile_go_fuzzer github.com/buger/jsonparser FuzzEachKey fuzzeachkey
|
|
|
|
cp corpus.zip $OUT/fuzzdelete_seed_corpus.zip
|
|
compile_go_fuzzer github.com/buger/jsonparser FuzzDelete fuzzdelete
|
|
|
|
cp corpus.zip $OUT/fuzzset_seed_corpus.zip
|
|
compile_go_fuzzer github.com/buger/jsonparser FuzzSet fuzzset
|
|
|
|
cp corpus.zip $OUT/fuzzobjecteach_seed_corpus.zip
|
|
compile_go_fuzzer github.com/buger/jsonparser FuzzObjectEach fuzzobjecteach
|
|
|
|
cp corpus.zip $OUT/fuzzparsefloat_seed_corpus.zip
|
|
compile_go_fuzzer github.com/buger/jsonparser FuzzParseFloat fuzzparsefloat
|
|
|
|
cp corpus.zip $OUT/fuzzparseint_seed_corpus.zip
|
|
compile_go_fuzzer github.com/buger/jsonparser FuzzParseInt fuzzparseint
|
|
|
|
cp corpus.zip $OUT/fuzzparsebool_seed_corpus.zip
|
|
compile_go_fuzzer github.com/buger/jsonparser FuzzParseBool fuzzparsebool
|
|
|
|
cp corpus.zip $OUT/fuzztokenstart_seed_corpus.zip
|
|
compile_go_fuzzer github.com/buger/jsonparser FuzzTokenStart fuzztokenstart
|
|
|
|
cp corpus.zip $OUT/fuzzgetstring_seed_corpus.zip
|
|
compile_go_fuzzer github.com/buger/jsonparser FuzzGetString fuzzgetstring
|
|
|
|
cp corpus.zip $OUT/fuzzgetfloat_seed_corpus.zip
|
|
compile_go_fuzzer github.com/buger/jsonparser FuzzGetFloat fuzzgetfloat
|
|
|
|
cp corpus.zip $OUT/fuzzgetint_seed_corpus.zip
|
|
compile_go_fuzzer github.com/buger/jsonparser FuzzGetInt fuzzgetint
|
|
|
|
cp corpus.zip $OUT/fuzzgetboolean_seed_corpus.zip
|
|
compile_go_fuzzer github.com/buger/jsonparser FuzzGetBoolean fuzzgetboolean
|
|
|
|
cp corpus.zip $OUT/fuzzgetunsafestring_seed_corpus.zip
|
|
compile_go_fuzzer github.com/buger/jsonparser FuzzGetUnsafeString fuzzgetunsafestring
|
|
|