-
-
Notifications
You must be signed in to change notification settings - Fork 293
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
Drcov remodelling #415
Drcov remodelling #415
Conversation
The question is who do we want to have as the owner of the blocks list? If it's fine that |
What do you think? |
I'm not sure it matters. Do you want to rework it to be as you said? |
I think it is nicer if we can make it into a helper, something like |
The idea is to make helper.rs as small as possible, and eventually we want to remove the main helper_ so that we can pass FridaHelperTuples instead to the executor. |
What would the helper do? |
Things in pre_exec() and post_exec() can be moved into another DrCovRuntime or DrCovHelper (just as CoverageRuntime/AsanRuntime/CmpLogRuntime) and we can setup the fuzzer to use multiple (different) runtimes together |
* drcov remodelling * fmt * fix Co-authored-by: tokatoka <tokazerkje@outlook.com>
This PR remodels the DrCovWriter.
I'm still unhappy about the general API, @s1341 how about creating the Writer in the very beginning, adding blocks to it, and then just calling
.write(&path)
on it at the end?