Repository navigation
Implement per-iteration leak scan for fuzzer - #2564
Conversation
|
I thought about directly calling |
derekbruening
left a comment
There was a problem hiding this comment.
Thank you for contributing. Looks reasonable overall.
|
Thank you for the feedback and your patience. I've implemented the majority of the changes you pointed out in the review. However, I noticed that the ci-clang / clang build is currently failing. Although i don't think it relates to my changes. Regardless let me know if there's anything else I might be missing. |
Unfortunately some of the automated testing needs some maintenance: more developers are needed to help. Clicking on re-run may solve in the short term. Filing an issue and temporarily committing removal/ignoring of the problematic test config if it keeps happening; long term trying to fix. |
Thanks for the clarification. I've gone ahead and marked the PR as ready for review and cleaned up the title, since all the requested code changes you requested are finished. Regarding that ci-clang build, since I can't hit the re-run button, I'll leave it to you or someone else to either re-run it or ignore it. If it messes up again after a try, i'll file an issue. |
|
Please resolve comments that are addressed, following https://dynamorio.org/page_code_reviews.html#autotoc_md118 |
derekbruening
left a comment
There was a problem hiding this comment.
Thanks again for the contribution.
My pleasure. Glad i could help. |
|
Actually before you make your final review the current implementation logs previous errors under the current inputs. Essentially reporting everything from this latest iteration and backwards, maybe i should implement it so that it actually only includes errors about the current iteration. This is identical to nudging a leak scan for every iteration, but i don't know if that's the intended behavior. maybe a more granular report would be better ? What do you think ? |
Do you mean you would add logic that identifies leak reports that are identical to ones reported in the last iteration and removes those from the report? I would say separate that into a different PR: in this PR I would vote for updating the docs to say all leaks are shown each iteration and then if you wanted to add the dup removal do that in a separate PR. |
Yeah that should probably be it's own PR i think that settles this one though. |
|
The test doesn't respect |
|
Merged. Thanks again for contributing. |
My pleasure. |
Adds a new option -fuzz_per_iter_leak_scan which writes leak scan results
after each fuzz iteration to a new output file fuzz_results.txt.
Fixes: #1797