-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Tenet traces don't include memory writes done by the fuzzer #210
Comments
That's a great idea and it makes a lot of sense, thanks for reporting 🙏🏽 I'll take a look at how this can be done but it'll take a minute :) Happy to collaborate / help out code-review if you want to take a crack at it though! Cheers |
All right, I am now back from my traveling so I will be looking at this this week; stay tunned. Cheers |
…e user does memory reads / writes in breakpoint callbacks or anywhere else.
Okay I think this should work - I also added memory read as Tenet uses this information for memory access breakpoints. @Ninja3047 would you mind giving a shot to the I tested this on a few testcases and it seems to work as expected; hopefully it does for you as well. Cheers |
@Ninja3047 gentle ping on this one - if I don't hear back I'll merge this next week as is then 😅 Cheers |
Sorry for the late response. won't have access to my Windows setup for a bit so feel free to just merge if it worked for you. The code looks roughly like how I would have added it. |
No worries at all :) I am happy to wait until the end of the month or longer if that means you give it a go - I'd rather take longer but make sure it fixes the issue you encountered than merging something that's not tested. Cheers |
It would be really nice if writes done by the fuzzer using
VirtWriteDirty
like socould be added to the tenet coverage trace. This will make triaging tenet traces easier since you'll be able to see what part of the input buffer caused the crash if it hasn't been accessed since the fuzzer wrote it. This should also handle the case where we call
VirtWriteDirty
in theSetBreakpoint
callback.as a workaround, i have a janky python script that parses the output tenet files and adds a memory write to approximately the right location containing the buffer from the crash but this isn't ideal.
The text was updated successfully, but these errors were encountered: