Re: RT linker, rpath and security

Greg Troxel <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
Mouse <[email protected]> writes:

> It is?  What is the tool to show the list of paths baked into a binary?

> That's a serious question.  I'm not aware of any, except possibly
> strings (plus a lot of patience, for large binaries); if there is one
> (lurking somewhere in binutils maybe?) I'd love to learn of it.

For rpath stuff

  objdump -x ${BINARY} | egrep "NEEDED|RPATH"

If one wants to ask "might this binary call dlopen and if so with what
paths", then that sounds equivalent to the halting problem...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.