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

Reduce found crash input #30

Closed
3 tasks done
senier opened this issue Feb 10, 2024 · 0 comments · Fixed by #49
Closed
3 tasks done

Reduce found crash input #30

senier opened this issue Feb 10, 2024 · 0 comments · Fixed by #49

Comments

@senier
Copy link
Owner

senier commented Feb 10, 2024

Try to shrink the input leading to a crash:

  1. Get shortest successful crash (if multiple)
  2. Apply a subset of mutations (those reducing size)
  3. If mutation is shorter and the same crash still happens, use the mutated input, otherwise pick new mutation

Strategies for mutations:

  • Remove a random line
  • Remove random sequence of characters
  • Tokenize input and consistently simplify identical tokens
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

Successfully merging a pull request may close this issue.

1 participant