-
Notifications
You must be signed in to change notification settings - Fork 10
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: don't bail out early on exceptions #69
Conversation
@evverx I wonder, do you have the exact exception, which prevented you from running
|
I can crash
I'm not sure it should be removed though. |
I see, thanks, I haven't seen that exception before. Anyway, I think we should continue even if we receive an "unhandled"[0] exception n-times, since that might be useful anyway, e.g.:
since sometimes we might hit different paths based on the passed value. Basically what I mentioned in https://github.com/matusmarhefka/dfuzzer/pull/64#issuecomment-1117395111. [0] Exception not handled by |
I think the idea was to somewhat try to figure out whether dfuzzer gets any closer to triggering new code paths and it was probably based on the assumption that it doesn't make sense to keep wasting time triggering the same exceptions over and over again. For that to really work I think |
What I'm trying to say is that before removing it it would be great to figure out why it was introduced in the first place. My guess would be that it was used as a signal allowing dfuzzer to decide whether whatever it does makes sense but I'm just speculating |
I see. I guess modifying the counter to keep counting only if the current invocation caused the same exception as the one before would make sense (and shouldn't be too complicated to implement). |
I guess that would make sense, given the original commit 7b821a8 but yeah, it just a speculation. |
@mrc0mmand I think this PR can be closed. I think it's safe to say that it's one of those heuristics guiding |
That definitely sounds like a plan :-) |
WIP