[lldb-dev] Get address for PIE-like "process"

Ted Woodward via lldb-dev lldb-dev at lists.llvm.org
Tue Apr 5 10:46:43 PDT 2016


We've got an OS that implements something they call a "user PD", which is a
lot like a PIE process. To debug it, we need to get the address of the image
and then slide the target's symbols. What's the best way to get the address
from the remote stub? Linux lldb reads an AuxVector from lldb-server, but
all we need is an address. I was thinking of using qShlibInfoAddr, but
that's used to get the address of the link map. Is it ok to use that in the
Hexagon DYLD plugin, or is there a better way to get the data from the stub?

 

--

Qualcomm Innovation Center, Inc.

The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a
Linux Foundation Collaborative Project

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160405/874f4ebd/attachment.html>


More information about the lldb-dev mailing list