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
tests: Add fuzzing harness for miniscript::FromScript(...) #17129
Closed
practicalswift
wants to merge
10
commits into
bitcoin:master
from
practicalswift:fuzzers-miniscript-fromscript
Closed
tests: Add fuzzing harness for miniscript::FromScript(...) #17129
practicalswift
wants to merge
10
commits into
bitcoin:master
from
practicalswift:fuzzers-miniscript-fromscript
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
practicalswift
force-pushed
the
fuzzers-miniscript-fromscript
branch
2 times, most recently
from
October 14, 2019 14:12
a00e30d
to
55d1531
Compare
practicalswift
force-pushed
the
fuzzers-miniscript-fromscript
branch
from
October 17, 2019 11:33
55d1531
to
be00af5
Compare
Added are: * Vector(arg1,arg2,arg3,...) constructs a vector with the specified arguments as elements. The vector's type is derived from the arguments. If some of the arguments are rvalue references, they will be moved into place rather than copied (which can't be achieved using list initialization). * Cat(vector1,vector2) returns a concatenation of the two vectors, efficiently moving elements when relevant. Vector generalizes (and replaces) the Singleton function in src/descriptor.cpp, and Cat replaces the Cat function in bech32.cpp
practicalswift
force-pushed
the
fuzzers-miniscript-fromscript
branch
from
October 23, 2019 11:55
be00af5
to
cada735
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add fuzzing harness for
miniscript::FromScript(...)
.Based on sipa's PR #16800 (rebased on current
master
).Testing this PR
Run:
The fix to those two issues demonstrated above was submitted a month ago to the upstream repo sipa/miniscript#18 :)
Here is my suggested patch if you want to try the fuzzer against the fixed version: