Date: | Thu, 17 Jan 2019 07:35:02 +0530 |
---|---|
From: | Buddhika Chamith Kahawitage Don <budkahaw@xxxxxx> |
Subject: | Re: [DynInst_API:] Add a new function |
While a shared library approach looks good I realized I cannot afford to do a function call to get to the jump table instrumentation in my use case since it generates a new call stack frame . Is there a way to do a control transfer to the jump table without doing a function call? (i.e indirect jump etc.) I was thinking may be injecting the jump table as a global BPatch_variableExpr and somehow make the control flow transfer using an indirect jump to that may be something which might be feasible. Any thoughts? Incidentally I found [1] which seems to be quite exactly what I want though there is no satisfactory conclusion there. Cheers Buddhika On Wed, Jan 9, 2019 at 11:23 PM Buddhika Chamith Kahawitage Don <budkahaw@xxxxxx> wrote:
|
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] [dyninst/dyninst] ffcea6: avoid infinite loop on bad DWARF CFI record, Sasha @leela |
---|---|
Next by Date: | Re: [DynInst_API:] Add a new function, Xiaozhu Meng |
Previous by Thread: | Re: [DynInst_API:] Add a new function, Buddhika Chamith Kahawitage Don |
Next by Thread: | Re: [DynInst_API:] Add a new function, Xiaozhu Meng |
Indexes: | [Date] [Thread] |