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

Issue 314150044: TBR: i#2080 sigreturn: provide alternative to sigreturn for setcontext

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

Description

Commit log for first patchset: --------------- i#2080 sigreturn: provide alternative to sigreturn for setcontext Adds an on-by-default option -use_sigreturn_setcontext. When turned off, setting a thread's context will instead use dr_longjmp. This is not fully transparent: it assumes the target stack is valid and that we can clobber the slot beyond TOS. Using this instead of sigreturn is meant mainly as a diagnostic to help debug future issues with sigreturn. ---------------

Patch Set 1 #

Patch Set 2 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -0 lines) Patch
M core/optionsx.h View 1 chunk +8 lines, -0 lines 0 comments Download
M core/unix/signal.c View 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 2
bruening
7 years, 4 months ago (2016-12-07 20:48:51 UTC) #1
bruening
7 years, 4 months ago (2016-12-07 20:48:53 UTC) #2
Committed as
https://github.com/DynamoRIO/dynamorio/commit/fc95a5c760e45b858d65ca33aaf9d6d...

Final commit log: 
---------------
i#2080 sigreturn: provide alternative to sigreturn for setcontext

Adds an on-by-default option -use_sigreturn_setcontext.  When turned off,
setting a thread's context will instead use dr_longjmp.  This is not fully
transparent: it assumes the target stack is valid and that we can clobber
the slot beyond TOS.  Using this instead of sigreturn is meant mainly as a
diagnostic to help debug future issues with sigreturn.

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

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