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

Chance to ignore min/max or pick invalid Enum should be optional #5

Open
jma-qb opened this issue May 16, 2024 · 0 comments
Open

Chance to ignore min/max or pick invalid Enum should be optional #5

jma-qb opened this issue May 16, 2024 · 0 comments

Comments

@jma-qb
Copy link

jma-qb commented May 16, 2024

Lain can chose to ignore the min and max bounds of a Vec as well as picking an invalid value for an Enum. see https://github.com/AFLplusplus/lain/blob/main/lain/src/mutator.rs#L19
I believe the user should be able to disable this behavior or chose a different value without cloning the library to set the chance to 0.
As it requires a bit of refactoring of Lain, this behavior should at least be documented/highlighted in a visible place.
I also think the default values are too high.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant