<div dir="ltr">Ok, I am currently in the process of developing Intel Processor trace support for LLDB , I need the virtual address mappings for the Elf's for decoding the trace data. I will check if SBSection.GetSectionData will work or not , Thanks for the info.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 8, 2016 at 12:11 PM, Pavel Labath <span dir="ltr"><<a href="mailto:labath@google.com" target="_blank">labath@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
could you give us a bit more background about what are you trying to<br>
do? It's hard to answer the question without knowing a bit more...<br>
<br>
On 8 March 2016 at 10:42, Ravitheja Addepally via lldb-dev<br>
<span class=""><<a href="mailto:lldb-dev@lists.llvm.org">lldb-dev@lists.llvm.org</a>> wrote:<br>
> Hello,<br>
> I wanted to know if there is any existing API or a set of API's that<br>
> could be used to retrieve the load addresses of the Modules ?<br>
<br>
</span>There is a GetLoadAddress function on SBSection<br>
<<a href="http://lldb.llvm.org/cpp_reference/html/classlldb_1_1SBSection.html" rel="noreferrer" target="_blank">http://lldb.llvm.org/cpp_reference/html/classlldb_1_1SBSection.html</a>>.<br>
I don't see one on SBModule though. What do you need this for?<br>
<span class=""><br>
> secondly Can<br>
> we obtain the dumps of the loaded Elf 's like in the remote case<br>
> transporting them from the target to the host ?<br>
><br>
<br>
</span>What kind of "dumps" are you looking for? Will<br>
SBSection.GetSectionData() work? A lot of other data is available in<br>
the other SB classes, but it's hard to answer this without knowing<br>
what exactly you are looking for.<br>
<span class="HOEnZb"><font color="#888888"><br>
pl<br>
</font></span></blockquote></div><br></div>