Good evening!
I have a problem. I want to fuzz a from this link. I've created a project, it's his sctructure if it's important:
├── BUILD
├── build.sh
├── DenylistFuzzer.iml
├── pom.xml
├── project.yaml
├── src
│ └── Deny
│ └── DenylistFuzzer.java
└── target
├── archive-tmp
├── Deny
│ └── DenylistFuzzer.class
├── DenylistFuzzer-1.0.jar
├── DenylistFuzzer-1.0-SNAPSHOT.jar
└── maven-archiver
└── pom.properties
I have json-sanitazer and jazzer-api dependencies for the build in the pom.xml file. After all, I've run mvn package command (just like it's recommended) and wanted to build fuzz-target. But I ran into the problem that even though I use the javac command as instructed and the .jar file is created, I can't access the created class:
Class not found error
I really don't understand how to how to deal with this. Please help me.
To start with, I tried looking at what's in my classspath. It was totally empty:
$ echo $CLASSPATH
$
$ >
I decided to add the jar files I need manually to it. Now I have a list of .jars inside it and it didn't help anyway: list of jars