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

Fuzz #1

Open
fasterthanlime opened this issue Apr 18, 2018 · 1 comment
Open

Fuzz #1

fasterthanlime opened this issue Apr 18, 2018 · 1 comment

Comments

@fasterthanlime
Copy link
Contributor

Use https://github.com/dvyukov/go-fuzz

@fasterthanlime
Copy link
Contributor Author

To allow fuzzing:

  • memFile (from szextractor_test) was moved into its own package, memfs
  • Sniffing was implemented:
    • If the file extension is not known (including because there's no file name), we probe it with 7-zip
    • Then we switch on 7-zip's reported format, and use our own extractors if we can
  • More fallbacks were implemented in szextractor to accomodate cases where we don't have file extensions available

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