Run the following to build the forallsecure/csharp-sharpfuzz
Docker image and push it to a specified Docker registry.
docker build -t $MAYHEM_DOCKER_REGISTRY/forallsecure/csharp-sharpfuzz .
docker push $MAYHEM_DOCKER_REGISTRY/forallsecure/csharp-sharpfuzz
Then initiate a Mayhem run using a Mayhemfile similar to the following:
image: $MAYHEM_DOCKER_REGISTRY/forallsecure/csharp-sharpfuzz:latest
duration: 90
project: mayhem-examples
target: csharp
cmds:
- cmd: /fuzzme/libfuzzer-dotnet --target_path=/fuzzme/fuzzme
libfuzzer: true