Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Add discovery of fuzz targets #22

@sunshowers

Description

@sunshowers

Ideally we'd just be able to use the inventory crate and be able to register fuzz targets, but there are some worrisome issues which might mean we miss some :(

The alternative way @dtolnay and I discussed is to statically analyze the Rust source using syn-inline-mod, looking for any instances of the #[propfuzz] macro. This is quite a bit hackier as we have to deal with a bunch of terrible crate visibility issues, but combined with guppy plus some clever hacks it should work in most cases.

Metadata

Metadata

Assignees

No one assigned

    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