Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Unstructured::arbitrary_take_rest_iter for collections of collections #159

Commits on Oct 11, 2023

  1. Fix Unstructured::arbitrary_take_rest_iter for collections of colle…

    …ctions
    
    This simply makes it match the behavior of `arbitrary_iter`. I experimented with
    more approaches, but I couldn't get anything that was better in terms of
    balancing simplicity of implementation, ease of understanding the algorithm, and
    generating all expected values.
    
    This additionally adds a testing helper function for exhaustively generating
    certain byte buffers and asserting that we generate the expected arbitrary
    values from those byte buffers.
    
    Fixes rust-fuzz#158
    fitzgen committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    27560f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f19fd7a View commit details
    Browse the repository at this point in the history