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

maxlength flag does not work as expected #284

Closed
louismerlin opened this issue Dec 20, 2022 · 2 comments
Closed

maxlength flag does not work as expected #284

louismerlin opened this issue Dec 20, 2022 · 2 comments

Comments

@louismerlin
Copy link
Contributor

I've tried using AFL++'s -G (--maxlength) option to generate and use inputs bigger than the default 1MB but I have not been successful so far.

Here is a repository I created to show the behavior: https://github.com/louismerlin/fuzz-size

I don't know if the behavior comes from afl.rs or from AFL++ directly.

I'll be happy to help fixing the issue, but I have not found the source of it yet.

@smoelius
Copy link
Member

Hi, @louismerlin. I played with your example briefly using plain AFLpluplus, and I too could not get it to produce a large input. In fact, the largest input I got it to produce was just a few hundred bytes. This suggests to me we're not properly incentivizing AFLplusplus to look for large inputs.

I'll try to think about this more, but it's not obvious to me what we're doing wrong right now.

@louismerlin
Copy link
Contributor Author

1MB is actually a hard-coded limitation in AFL++.

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

2 participants