diff --git a/oom-1 b/oom-1 new file mode 100644 index 0000000000..07b2b8df0e --- /dev/null +++ b/oom-1 @@ -0,0 +1 @@ +,l:!.‘inu \ No newline at end of file diff --git a/oom-2 b/oom-2 new file mode 100644 index 0000000000..976f2664fd --- /dev/null +++ b/oom-2 @@ -0,0 +1 @@ +&if¤F:*.˙ensures \ No newline at end of file diff --git a/oom-3 b/oom-3 new file mode 100644 index 0000000000..4b78cac5a6 --- /dev/null +++ b/oom-3 @@ -0,0 +1 @@ +D case{A,**(u(.:def{k**,E \ No newline at end of file diff --git a/oom-4 b/oom-4 new file mode 100644 index 0000000000..0b3b095d4a --- /dev/null +++ b/oom-4 @@ -0,0 +1 @@ +‡†rÓ*+=**ca=*ce*~fěcase“T“;;;;..rs(.:2{““D`'rseher \ No newline at end of file diff --git a/script/reproduce b/script/reproduce index ee7b3a2312..d36b970061 100755 --- a/script/reproduce +++ b/script/reproduce @@ -10,6 +10,8 @@ fi lang="$1" testcase="$2" -out="out" -ASAN_OPTIONS="quarantine_size_mb=10:detect_leaks=1" UBSAN="print_stacktrace=1:halt_on_error=1" \ - "${out}/${lang}_fuzzer" "$testcase" -timeout=1 -runs=100 +out=$(cd $(dirname $0)/../out && pwd) +export ASAN_OPTIONS="quarantine_size_mb=10:detect_leaks=1:symbolize=1" +export UBSAN_OPTIONS="print_stacktrace=1:halt_on_error=1:symbolize=1" + +"${out}/${lang}_fuzzer" "$testcase" -timeout=10 -runs=1 -rss_limit_mb=1024 diff --git a/test/fuzz/README.md b/test/fuzz/README.md index ba19b10b52..85d65a951e 100644 --- a/test/fuzz/README.md +++ b/test/fuzz/README.md @@ -8,8 +8,8 @@ The main fuzzing logic is implemented by `libFuzzer` which is part of the LLVM p ``` cd ~/src -git clone https://github.com/llvm-mirror/llvm -cd llvm/lib/Fuzzer +git clone https://github.com/llvm-mirror/compiler-rt +cd compiler-rt/lib/fuzzer ./build.sh ```