tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RT linker, rpath and security



Mouse <mouse%Rodents-Montreal.ORG@localhost> 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...


Home | Main Index | Thread Index | Old Index