tech-toolchain archive

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

Re: RT linker, rpath and security



Le Thu, May 11, 2023 at 09:57:09AM -0400, Mouse a écrit :
> > An admin can not check all input that binaries have to deal with, but
> > checking sane access rights for paths showing up in binaries they
> > install (or trusting pkgsrc to have done that and creatings dirs with
> > proper permissions) is easy.
> 
> 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.

readelf -d
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index