Date: | Thu, 13 Nov 2014 15:08:32 +0000 |
---|---|
From: | Fabian Mager <fabian.mager@xxxxxxxxxxxxxx> |
Subject: | [DynInst_API:] (no subject) |
Hello everyone, I'm interested in debugging library functions. This works quite well so far for static libraries. I inspect the debug information of the completely linked program in order to get the function start addresses. With the help of ProcControlAPI I'm able to set breakpoints at those addresses before runtime and do there whatever I want during runtime. This approach obviously does not work in case the library is loaded dynamically because the concrete addresses are not known before runtime hence I don't know where to set the breakpoints. Does DynInst provide some mechanism to get the final addresses of functions that come with dynamically loaded libraries? Thanks, Fabian
|
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] PATCH: have SymtabAPI properly use ELF contents to set architecture, Bill Williams |
---|---|
Next by Date: | Re: [DynInst_API:] (no subject), Matthew LeGendre |
Previous by Thread: | [DynInst_API:] New Dyninst point release (8.2.1), Barton Miller |
Next by Thread: | Re: [DynInst_API:] (no subject), Matthew LeGendre |
Indexes: | [Date] [Thread] |