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

Make ReadBinaryOptions more strict across readers #2541

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SoniEx2
Copy link
Collaborator

@SoniEx2 SoniEx2 commented Feb 14, 2025

this is a major breaking change and we don't expect CIFuzz to survive, but coupling the assumptions of the binary reader delegate with the accepted binary reader options makes some things a lot easier. it does mean CIFuzz won't be able to fuzz the interpreter reader with stop_on_first_error = false; but we think that's for the best. (that should never have been a supported configuration, honestly.)

closes #2537

@SoniEx2 SoniEx2 requested review from keithw and sbc100 February 14, 2025 00:31
@SoniEx2 SoniEx2 force-pushed the binary-reader-changes branch from 6b98384 to 5033eb3 Compare February 14, 2025 00:33
@SoniEx2
Copy link
Collaborator Author

SoniEx2 commented Feb 14, 2025

(sorry for the force push, forgot to rebase)

@SoniEx2
Copy link
Collaborator Author

SoniEx2 commented Feb 14, 2025

somehow we have managed to break the lint task. that's a new one.

@SoniEx2 SoniEx2 force-pushed the binary-reader-changes branch from 6fe22ca to aa8c028 Compare February 17, 2025 13:33
@SoniEx2
Copy link
Collaborator Author

SoniEx2 commented Feb 17, 2025

(CIFuzz failing is expected because CIFuzz is stored out-of-tree, see https://github.com/google/oss-fuzz/tree/master/projects/wabt - this should actually be changed if we're understanding the oss-fuzz documentation correctly, but either way it'll require coordination between the repos)

@SoniEx2 SoniEx2 marked this pull request as draft February 18, 2025 16:01
@SoniEx2
Copy link
Collaborator Author

SoniEx2 commented Feb 18, 2025

we think we should migrate the fuzzers from oss-fuzz into wabt first, seems like a better idea.

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 this pull request may close these issues.

Binary reader options and intended use cases
1 participant