Mercurial > dropbear
annotate fuzz/fuzzer-client_nomaths.c @ 1903:9382271da9ef
Only set soft core limit not hard limit
Otherwise child shells can't enable coredumps if desired.
Fixes #145 on github
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 24 Mar 2022 14:18:45 +0800 |
parents | d5680e12ac33 |
children |
rev | line source |
---|---|
1742
6e71440b1e47
Add fuzzer-client_nomaths, fix client fuzzer
Matt Johnston <matt@ucc.asn.au>
parents:
diff
changeset
|
1 #include "fuzz.h" |
6e71440b1e47
Add fuzzer-client_nomaths, fix client fuzzer
Matt Johnston <matt@ucc.asn.au>
parents:
diff
changeset
|
2 |
6e71440b1e47
Add fuzzer-client_nomaths, fix client fuzzer
Matt Johnston <matt@ucc.asn.au>
parents:
diff
changeset
|
3 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { |
6e71440b1e47
Add fuzzer-client_nomaths, fix client fuzzer
Matt Johnston <matt@ucc.asn.au>
parents:
diff
changeset
|
4 return fuzz_run_client(Data, Size, 1); |
6e71440b1e47
Add fuzzer-client_nomaths, fix client fuzzer
Matt Johnston <matt@ucc.asn.au>
parents:
diff
changeset
|
5 } |
6e71440b1e47
Add fuzzer-client_nomaths, fix client fuzzer
Matt Johnston <matt@ucc.asn.au>
parents:
diff
changeset
|
6 |