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

Commit df20c6e

Browse files
author
Yevgeny Pats
committed
update README
1 parent 46c3717 commit df20c6e

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

README.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,38 @@ the result/bug the function should throw an exception.
3939
or hangs/they run more the the specified timeout limit per testcase.
4040

4141
### Installing
42+
Add this to your `pom.xml`
43+
44+
```yaml
45+
<dependencies>
46+
<dependency>
47+
<groupId>dev.fuzzit.javafuzz</groupId>
48+
<artifactId>core</artifactId>
49+
<version>1.23-SNAPSHOT</version>
50+
<scope>test</scope>
51+
</dependency>
52+
</dependencies>
53+
54+
<plugin>
55+
<plugin>
56+
<groupId>dev.fuzzit.javafuzz</groupId>
57+
<artifactId>javafuzz-maven-plugin</artifactId>
58+
<version>1.22</version>
59+
</plugin>
60+
</plugins>
61+
```
62+
4263

4364
### Running
4465

45-
The next step is to download js-fuzz and then run your fuzzer
66+
The next step is to javafuzz with your fuzz target function
67+
68+
69+
```bash
70+
wget -O jacocoagent https://github.com/fuzzitdev/javafuzz/raw/master/javafuzz-maven-plugin/src/main/resources/jacocoagent-exp.jar
71+
MAVEN_OPTIONS="-javaagent:jacoco.jar" mvn javafuzz:fuzz -DclassName=your.full.class.name
72+
```
73+
4674

4775
```bash
4876

examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<plugin>
8181
<groupId>dev.fuzzit.javafuzz</groupId>
8282
<artifactId>javafuzz-maven-plugin</artifactId>
83-
<version>1.12</version>
83+
<version>1.23-SNAPSHOT</version>
8484
</plugin>
8585
</plugins>
8686
</pluginManagement>

0 commit comments

Comments
 (0)