Skip to content

std.testing.fuzzInput: introduce a length range option #20816

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

Open
andrewrk opened this issue Jul 26, 2024 · 0 comments · May be fixed by #20914
Open

std.testing.fuzzInput: introduce a length range option #20816

andrewrk opened this issue Jul 26, 2024 · 0 comments · May be fixed by #20914
Labels
enhancement Solving this issue will likely involve adding new logic or components to the codebase. fuzzing
Milestone

Comments

@andrewrk
Copy link
Member

Extracted from #20773.

test "fuzz example" {
    const input_bytes = std.testing.fuzzInput(.{
        .len_range = .{ .min = 8, .max = 8},
    });
    // perhaps we use this now to test 32-bit float printing
}
@andrewrk andrewrk added enhancement Solving this issue will likely involve adding new logic or components to the codebase. fuzzing labels Jul 26, 2024
@andrewrk andrewrk added this to the 0.14.0 milestone Jul 26, 2024
@AdamGoertz AdamGoertz linked a pull request Aug 3, 2024 that will close this issue
@andrewrk andrewrk modified the milestones: 0.14.0, 0.15.0 Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Solving this issue will likely involve adding new logic or components to the codebase. fuzzing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant