Skip to content

Add fuzz seeds from 25rc1 #124

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

Merged
merged 1 commit into from
May 24, 2023
Merged

Conversation

murchandamus
Copy link
Contributor

@murchandamus murchandamus commented May 8, 2023

Draft: Testing whether I’m doing this right so far, before I throw more compute at fuzzing.

@maflcko
Copy link
Contributor

maflcko commented May 9, 2023

Usually I use current running master. I don't think there was ever an instance where an input on a release branch triggered a bug that wouldn't trigger on master as well, and vice-versa. Though, if there are meaningful backports to a release branch, this could change.

So Concept ACK. I presume you merged this with 25rc1 compiled and not master?

@murchandamus
Copy link
Contributor Author

Yes, exactly, I was fuzzing with 25rc1. I’ve been fuzzing more while I was traveling, only to learn that libfuzzer appears to take the first of either -runs or -max_total_time and you can’t combine the two to make it stop whenever you hit one of the two limits. So… was fuzzing one thing for 35h, instead of everything for up to 20 minutes. Will merge my results on Monday and update this PR then.

@murchandamus
Copy link
Contributor Author

Fuzzed every target for another 20 minutes.

@maflcko
Copy link
Contributor

maflcko commented May 16, 2023

about wallet_notifications: #121 (comment)

@murchandamus
Copy link
Contributor Author

@MarcoFalke: Damn, that was one of the things that were really slow to fuzz. ;)
So, do I understand you right that you are asking that I delete the content of the wallet_notifications target?

@maflcko
Copy link
Contributor

maflcko commented May 22, 2023

Yeah, for now. Longer term it might be good to rework the fuzz target or come up with a different solution.

@murchandamus
Copy link
Contributor Author

murchandamus commented May 22, 2023

Updated to remove wallet_notifications fuzz seeds

@maflcko
Copy link
Contributor

maflcko commented May 24, 2023

Can't really find new coverage, but I guess it doesn't hurt too much either?

lgtm

@fanquake
Copy link
Member

@dergoegge

Copy link
Member

@dergoegge dergoegge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@fanquake fanquake merged commit 7f63462 into bitcoin-core:main May 24, 2023
@murchandamus
Copy link
Contributor Author

Can't really find new coverage, but I guess it doesn't hurt too much either?

lgtm

I’m confused. If these new files didn’t increase the coverage, why did the merge not remove them? Did I do it wrong? :-/

@maflcko
Copy link
Contributor

maflcko commented Jun 13, 2023

The merge uses -use_value_profile=1, IIRC, and the fuzz engine may use some other stuff internally, which triggers on more than just Function/Line/Branch coverage and may include fuzz inputs that appear otherwise "redundant".

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.

4 participants