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

Add "only-printable" Fuzzing Mode #215

Merged
merged 12 commits into from Aug 9, 2018

Conversation

Projects
None yet
2 participants
@plusun
Contributor

plusun commented Aug 6, 2018

The "only-printable" mode will only generate printable inputs for the fuzzed program. This might be useful for many applications such as expr(1). The changes to achieve this are:

  1. Add an option and configuration flag for the "only-printable" mode;
  2. Change the initial single-byte input from '\0' to ' ' (a space character) under this mode;
  3. Implement the printable version of mangle functions;
  4. Add initialization function to reset the mangle function list.

The printable version of "mangle_Magic" is currently implemented as directly transferring the original data to printable outputs. Because I don't know the semantics of this function. If anyone has any suggestion for this, I'd like to improve it.

@robertswiecki robertswiecki merged commit b31036f into google:master Aug 9, 2018

1 check passed

cla/google All necessary CLAs are signed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment