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

fuzzer: Have it re-encode successfully parsed data #1626

Open
msiebuhr opened this Issue May 12, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@msiebuhr
Copy link
Contributor

msiebuhr commented May 12, 2016

Dmitry suggests (in dvyukov/go-fuzz#127 (comment)) to expand the fuzzing by having it re-encode/stringify the decoded datastructure.

I'm not familiar with the different parses, but I imagine several of them have some re-encodable output.

Possibly check that it matches the parsed input and/or re-parse it and verify it matches the originally parsed out data structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.