Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevgeny Pats committed Nov 19, 2019
1 parent 46c3717 commit df20c6e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
30 changes: 29 additions & 1 deletion README.md
Expand Up @@ -39,10 +39,38 @@ the result/bug the function should throw an exception.
or hangs/they run more the the specified timeout limit per testcase.

### Installing
Add this to your `pom.xml`

```yaml
<dependencies>
<dependency>
<groupId>dev.fuzzit.javafuzz</groupId>
<artifactId>core</artifactId>
<version>1.23-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>

<plugin>
<plugin>
<groupId>dev.fuzzit.javafuzz</groupId>
<artifactId>javafuzz-maven-plugin</artifactId>
<version>1.22</version>
</plugin>
</plugins>
```


### Running

The next step is to download js-fuzz and then run your fuzzer
The next step is to javafuzz with your fuzz target function


```bash
wget -O jacocoagent https://github.com/fuzzitdev/javafuzz/raw/master/javafuzz-maven-plugin/src/main/resources/jacocoagent-exp.jar
MAVEN_OPTIONS="-javaagent:jacoco.jar" mvn javafuzz:fuzz -DclassName=your.full.class.name
```


```bash

Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Expand Up @@ -80,7 +80,7 @@
<plugin>
<groupId>dev.fuzzit.javafuzz</groupId>
<artifactId>javafuzz-maven-plugin</artifactId>
<version>1.12</version>
<version>1.23-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down

0 comments on commit df20c6e

Please sign in to comment.