-
Notifications
You must be signed in to change notification settings - Fork 566
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
i#725: add attach for windows #5075
i#725: add attach for windows #5075
Conversation
f5d4ce3
to
c14ea01
Compare
3ec1467
to
208fb7b
Compare
208fb7b
to
33813aa
Compare
Please do not force push: it ruins the history, strands the review comments, etc. See https://dynamorio.org/page_code_reviews.html#sec_code_review_non_member and https://dynamorio.org/page_code_reviews.html#autotoc_md114. The final merge will squash it all down into one clean commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR. It looks pretty good: just some nits, and then the documentation and testing. Is your plan to add a test as a separate PR? And include some doc additions in this PR?
My plan is to finish everything in this PR. |
Ok, so the test is more stable now (I am not seeing the previous errors), but still fails sometimes. I saw two errors:
I don't understand these errors, but here are my thoughts:
Unfortunately, I will not be available to work on this next week (and probably less available afterwards as well). |
But now it happened again, and there were no prints from the exception function. What am I missing? |
One way forward is to add this new test to the flaky ignore list in suite/runsuite_wrapper.pl (find the lists for the appropriate Windows bitwidth(s); put #725 in the comment), update #725 to say that the test still needs work and to be removed from the flaky list (o/w nobody will notice if attach gets broken and the test fails every time), and merge this in. |
add to whitelist |
run arm tests |
Added to flaky list - is it in the correct place? Should I just comment on #725 something like |
Yes, LGTM. (Huh the existing list for Windows is longer than I thought...need more devs to help clean it up.)
SGTM, maybe pasting in the details of the failures you had above. |
Merged. Thank you for the PR, and working through all the debugging to get the test as far as it is! |
My pleasure :) |
Adding attach functionality on windows i#725.
Completing this PR.
Main difference from the original PR, is not taking over threads that are terminating (otherwise attach always fails).
Additionally, added the possibility to sleep 1 millisecond between takeover attempts, and controlling the number of attempts.
Feature marked as experimental.