Requirements:
- NodeJS
- npm install kotlin
- npm install kotlin-test
Usage:
- Compile
- ./compile.sh
- Start
- gradlew runBBF - to start fuzzing
All options (backends, dir for results, etc.) specifies in bbf.conf file
- The class
com.stepanov.bbf.coverage.CompilerInstrumentation
is duplicated in both the Java agent module and in the main project. Their contents should be kept identical. -javaagent:<path-to-instrumenter-jar>
VM option should be present in order for the compiler to be instrumented.- A new instrumenter jar can be assembled with the
kotlinc-instrumenter/jar
Gradle task. The new jar's default new position is the main project'ssrc/main/resources
.
Performance mode
//-javaagent:/home/zver/IdeaProjects/bbfgradle/src/main/resources/kotlinc-instrumenter.jar