Date: | Wed, 16 May 2018 08:58:10 +0000 |
---|---|
From: | Bill Williams <bill@xxxxxxxxxxx> |
Subject: | Re: [DynInst_API:] Ignore certain signals |
This is in fact a ptrace limitation. If your application is being run under ptrace it will stop on all signals. If it’s possible to perform your instrumentation with binary rewriting (possibly augmented by other techniques) and just
let it run with your signal handler installed it will be somewhat more performing but not a lot; signal overhead is a pretty significant fraction of ptrace overhead IIRC.
--bw
From: Dyninst-api <dyninst-api-bounces@xxxxxxxxxxx> on behalf of Xiaozhu Meng <mxz297@xxxxxxxxx>
Sent: Tuesday, May 1, 2018 4:44:29 PM To: Victor van der Veen Cc: dyninst-api Subject: Re: [DynInst_API:] Ignore certain signals I see. Then I think you
indeed need to search for ptrace documentation to see if there is a way to let ptrace to not act on a certain signal. I did a quick search, but could not find useful information.
On Tue, May 1, 2018 at 9:24 AM, Victor van der Veen
<vvdveen@xxxxxxxxx> wrote:
|
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [DynInst_API:] Dyninst::ParseAPI::SymtabCodeSource::init_try_blocks(): Assertion `!"WARNING: overlapping try blocks\n"' failed., Jim Galarowicz |
---|---|
Next by Date: | [DynInst_API:] [dyninst/dyninst] e86e0f: Add FORCE_BOOST CMake option for @lee218llnl, Xiaozhu Meng |
Previous by Thread: | Re: [DynInst_API:] Ignore certain signals, Xiaozhu Meng |
Next by Thread: | [DynInst_API:] Including arbitrary x86 instructions at snippets, Buddhika Chamith Kahawitage Don |
Indexes: | [Date] [Thread] |