-
Notifications
You must be signed in to change notification settings - Fork 562
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#2372: do not lose control in native_exec with default options #2380
Conversation
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.
LGTM with some suggestion
"-no_early_inject -native_exec_list common.nativeexec -native_exec_retakeover" "") | ||
torunonly(common.nativeexec_bindnow common.nativeexec common/nativeexec.c | ||
torunonly(common.nativeexec_bindnow common.nativeexec common/nativeexec_exenative.c |
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.
ok, for the base name
-> 40 | ||
calling loop_test | ||
Not under DR! | ||
all done |
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.
From the test, how do we know we regain control at some where? somewhere did not print "Not under DR"
It would better if we can print "Under DR" somewhere to show we regain the control.
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.
These tests have the entire exe run natively. I think there is a library here? It's supposed to be under DR? I can try to link the annotations into the library.
…mplicating injection
…tive-exec-lose-control
The appveyor failure is api.detach #2246. |
…moRIO#2380) Fixes a regression from d7c0a6f which erroneously removed the retaddr mangling unless -native_exec_retakeover was set. Augments the native_exec test with annotations so we can actually tell whether we lost control. Unfortunately we have to disable the nativeexec tests on clang due to i#1799. Fixes DynamoRIO#2372
Fixes a regression from d7c0a6f which erroneously removed the retaddr
changing unless -native_exec_retakeover was set.
Augments the native_exec test with annotations so we can actually tell
whether we lost control.
Fixes #2372