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

Add discovery of fuzz targets #22

Open
sunshowers opened this issue Jul 2, 2020 · 1 comment
Open

Add discovery of fuzz targets #22

sunshowers opened this issue Jul 2, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@sunshowers
Copy link
Contributor

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.

@sunshowers sunshowers added the enhancement New feature or request label Jul 2, 2020
@sunshowers
Copy link
Contributor Author

This is coming along nicely -- once the upstream change at TedDriggs/syn-inline-mod#17 lands, we should have most of what we need.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant