Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(377)

Issue 308680043: TBR: i#1921 native signals: remove handlers and hooks while fully native

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by bruening
Modified:
10 years ago
Reviewers:
zhaoqin
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#1921 native signals: remove handlers and hooks while fully native Adds removal of all signal handler and vsyscall hooks while fully native (during usage of the start/stop API). This simplifies handling of native threads. This does not yet solve single-native-thread signals for native_exec or DR_EMIT_GO_NATIVE. The implementation uses a new routine os_process_{not_,}under_dynamorio(). A test api.static_signal is forthcoming but it still requires some other DR attach fixes before it fully works. ---------------

Patch Set 1 #

Patch Set 2 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -49 lines) Patch
M core/arch/arch.c View 4 chunks +14 lines, -6 lines 0 comments Download
M core/arch/arch_exports.h View 1 chunk +2 lines, -0 lines 0 comments Download
M core/arch/interp.c View 1 chunk +1 line, -1 line 0 comments Download
M core/dynamo.c View 4 chunks +14 lines, -6 lines 0 comments Download
M core/os_shared.h View 1 chunk +2 lines, -0 lines 0 comments Download
M core/synch.c View 1 chunk +2 lines, -0 lines 0 comments Download
M core/unix/os.c View 2 chunks +20 lines, -0 lines 0 comments Download
M core/unix/os_exports.h View 2 chunks +3 lines, -3 lines 0 comments Download
M core/unix/signal.c View 4 chunks +53 lines, -33 lines 0 comments Download
M core/win32/os.c View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 2
bruening
10 years ago (2016-10-13 04:39:37 UTC) #1
bruening
10 years ago (2016-10-13 04:39:40 UTC) #2
Committed as
https://github.com/DynamoRIO/dynamorio/commit/71b0060ea19a18245813e585174c678...

Final commit log: 
---------------
i#1921 native signals: remove handlers and hooks while fully native

Adds removal of all signal handler and vsyscall hooks while fully native
(during usage of the start/stop API).  This simplifies handling of native
threads.  This does not yet solve single-native-thread signals for
native_exec or DR_EMIT_GO_NATIVE.

The implementation uses a new routine os_process_{not_,}under_dynamorio().

A test api.static_signal is forthcoming but it still requires some other DR
attach fixes before it fully works.

Review-URL: https://codereview.appspot.com/308680043
---------------
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b