Chromium Code Reviews
DescriptionHooks in sel_ldr for out-of-process (OOP) debugger.
Only Windows hooks are implemented,
placeholders are provided for other platforms.
bug=none
test=manual:
1) change line win\nacl_oop_debugger_hooks.c:53
if (IsDebuggerPresent()) { -> if (true) {
2) build chrome
3) start dbgview.exe (download it from: http://technet.microsoft.com/en-us/sysinternals/bb896647)
4) start custom chrome (from step #2)
5) navigate to tha page with nexe
6) in dbgview you should get something like this:
11.62454796 [6060] {7AA7C9CF-89EC-4ed3-8DAD-6DC84302AB11} -version 1 -event AppCreate -nap 00000000001CD3F0 -mem_start 0000000C00000000 -user_entry_pt 0000000000020080 -initial_entry_pt 0000000008000080
11.62480354 [6060] {7AA7C9CF-89EC-4ed3-8DAD-6DC84302AB11} -version 1 -event ThreadCreate -natp 0000000002304C50
7) navigate off the page
8) in dbgview you should get something like this:
23.96814728 [6060] {7AA7C9CF-89EC-4ed3-8DAD-6DC84302AB11} -version 1 \
-event ThreadExit -natp 0000000002304C50 -exit_code 1
23.96838570 [6060] {7AA7C9CF-89EC-4ed3-8DAD-6DC84302AB11} -version 1 \
-event AppExit -exit_code 1
Committed: http://src.chromium.org/viewvc/native_client?view=rev&revision=5639
Patch Set 1 : '' #
Total comments: 16
Patch Set 2 : '' #
Total comments: 8
Patch Set 3 : '' #
Total comments: 8
Patch Set 4 : '' #Patch Set 5 : '' #
Total comments: 2
Patch Set 6 : '' #Patch Set 7 : '' #Patch Set 8 : '' #Messages
Total messages: 14 (0 generated)
|