Integrate LLVM's libfuzzer engine with JerryScript (#2898)

JerryScript-DCO-1.0-Signed-off-by: Renata Hodovan reni@inf.u-szeged.hu
This commit is contained in:
Renáta Hodován
2019-06-07 14:43:20 +02:00
committed by László Langó
parent 343e80053b
commit e2646f93cc
5 changed files with 85 additions and 6 deletions
+9
View File
@@ -120,6 +120,15 @@ python tools/build.py --cpointer-32bit=on --mem-heap=1024
*Note*: The heap size will be allocated statically at compile time, when JerryScript memory
allocator is used.
**To build with libfuzzer support**
```bash
CC=clang python tools/build.py --libfuzzer=on --lto=off
```
Check the documentation of libfuzzer to get the runtime settings of the created fuzzer
binary: https://llvm.org/docs/LibFuzzer.html.
**To get a list of all the available buildoptions for Linux**
```bash