Re: [lldb-dev] Inquiry about Load Address

2016-03-08 Thread Greg Clayton via lldb-dev
If you are connected to a live process, you just need to look up the lldb::SBAddress for a load address using the SBTarget lldb::SBTarget target = ...; lldb::addr_t load_addr = ...; lldb::SBAddress addr = target.ResolveLoadAddress (load_addr); if (addr.GetSection().IsValid()) { // Load

Re: [lldb-dev] Inquiry about Load Address

2016-03-08 Thread Pavel Labath via lldb-dev
Hi, could you give us a bit more background about what are you trying to do? It's hard to answer the question without knowing a bit more... On 8 March 2016 at 10:42, Ravitheja Addepally via lldb-dev wrote: > Hello, > I wanted to know if there is any existing API

[lldb-dev] Inquiry about Load Address

2016-03-08 Thread Ravitheja Addepally via lldb-dev
Hello, I wanted to know if there is any existing API or a set of API's that could be used to retrieve the load addresses of the Modules ? secondly Can we obtain the dumps of the loaded Elf 's like in the remote case transporting them from the target to the host ? BR, A Ravi Theja