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

fuzz: split FuzzedSock interface and implementation #21630

Merged
merged 5 commits into from
Apr 15, 2021

Commits on Apr 15, 2021

  1. Configuration menu
    Copy the full SHA
    5198a02 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c90ff1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9668e43 View commit details
    Browse the repository at this point in the history
  4. fuzz: split FuzzedSock interface and implementation

    Move the `FuzzedSock`'s implementation from `src/test/fuzz/util.h` to
    `src/test/fuzz/util.cpp`.
    
    A separate interface and implementation make the code more readable for
    consumers who don't need to (better not) know the implementation
    details.
    vasild committed Apr 15, 2021
    1 Configuration menu
    Copy the full SHA
    29ae1c1 View commit details
    Browse the repository at this point in the history
  5. fuzz: use ConsumeBool() instead of !ConsumeBool()

    The former is shorter and ends up with a "random" bool anyway.
    vasild committed Apr 15, 2021
    1 Configuration menu
    Copy the full SHA
    549c82a View commit details
    Browse the repository at this point in the history