Skip to content

Make the state's current executor available in DumpToDiskStage #3367

@msanft

Description

@msanft

Is your feature request related to a problem? Please describe.
It currently doesn't easily seem possible to dump NautilusInput program inputs to disk. This is due to the fact that to convert them from their binary representation into the actual current program input, you need the NautilusBytesConverter, which is stateful and needs to be retrieved from the current state within the CB1 closure of the DumpToDiskStage.

This is not possible, as the NautilusBytesConverter can't be retrieved from the StdState as of now.

Describe the solution you'd like
Make the converter of the fuzzer available via the StdState.

Describe alternatives you've considered
Using an Arc<NautilusBytesConverter> to use the converter within the closure. Creates complicated code.

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