Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Add support for go fuzzing #2429

@tevoinea

Description

@tevoinea

go supports fuzzing natively in the cli tool. In order to support this method of fuzzing in OneFuzz we need:

  • Produce more than 1 crashing input when running the fuzzer
  • Reproduceable crashes
  • Code coverage from fuzzing execution
  • Parse go stacks in stacktrace-parser

Produce more than 1 crashing input when running the fuzzer

Elaborated here: #2429 (comment)

Reproduceable crashes

This is possible today. When the fuzzer finds a crash, a file is stored with the inputs that caused the crash. The inputs are 'shareable' across machines.

Code coverage from fuzzing execution

Some coverage is available as a summary of the total number of lines covered however line level detail to produce coverage maps like cobertura is not available for fuzzing. I've started a discussion here: https://forum.golangbridge.org/t/code-coverage-from-fuzzing/28875

AB#36056

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions