-
Notifications
You must be signed in to change notification settings - Fork 570
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
runtime options not inherited from 64-bit parent to 32-bit child #1434
Comments
From [email protected] on April 28, 2014 13:16:20 I suspect the problem is more fundamental: it's not actually injecting |
From [email protected] on April 28, 2014 15:32:58 syscall: NtCreateUserProcess presys ??\D:\src\cygwin\home\zhaoqin\Workspace\DynamoRIO\builds\build_x86_dbg.git\suite\tests\bin\win32. Looks like doing the injecting |
From [email protected] on April 30, 2014 10:03:07 The parent attempting to inject does not mean it successfully injected |
From [email protected] on May 01, 2014 12:11:47 It seems the problem is -early_inject is off by default. With -early_inject, it seems fine. $ ./bin64/drrun -debug -loglevel 3 -msgbox_mask 0xf -early_inject -early_inject_map -early_inject_location 5 -heap_in_lower_4GB -code_api -- ./bin64/create_process.exe ../build_x86_dbg.git/suite/tests/bin/win32.mixedmode.exe mixedmode |
From [email protected] on May 01, 2014 12:54:00 It seems still some problem. It only works if I attach the windbg to the child process: If I run it directly: But if I attach the debugger when the child process start: So it might means the attaching windbg might execute some code in child process and make it normal? |
From [email protected] on May 04, 2014 10:23:32 |
From [email protected] on May 04, 2014 21:16:28 Piyus found the cause:
It must be get_base_named_obj_dir_name(). We may have to switch to constructing the name, at least if we're initialized before PEB->ReadOnlyStaticServerData is set up. I'll take a stab at it. Owner: [email protected] |
From [email protected] on May 05, 2014 07:59:29 I have a fix for the get_base_named_obj_dir_name() crash. Assigning back to finish it off w/ the -early_inject plus a test. Owner: [email protected] |
From [email protected] on May 06, 2014 10:06:57 in child process, why the KiUserApcDispactcher is not mangled? |
From [email protected] on May 06, 2014 10:27:29
It's a 64-bit DR, and you're looking at the 32-bit ntdll |
From [email protected] on April 28, 2014 16:03:04
Running the mixedmode test bin64/drrun -debug -loglevel 3 -early_inject_map -early_inject_location 5 -heap_in_lower_4GB -code_api -- bin64/create_process.exe D:/derek/dr/build_suite/build_debug-internal-32/suite/tests/bin/win32.mixedmode.exe mixedmode
=> child process has no non-default options
related to recent env var inheritance changes?
I would guess it's a regression, must have once worked when this test was being developed: I worked on it and must have had logs
Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1434
The text was updated successfully, but these errors were encountered: