[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[4]: Doing Stupid things?!
I think I meant strip -all or other such things. If you really want to see
if it's stripped of publics, try less libc.so.5 and then /printf. What you
say is, that the object can be stripped safely with the *standard* options
of the command, yes ?
On Tue, 2 Dec 1997, Evgeny Stambulchik wrote:
> Peter Lorand Peres <plp@actcom.co.il> wrote:
> > Are you sure ? I think I remember that ELF linking resolves by name, and
> > those are symbols, no ?
>
> $ldd /usr/bin/file
> libc.so.5 => /lib/libc.so.5 (0x4000b000)
> $file /lib/libc.so.5
> /lib/libc.so.5: symbolic link to libc.so.5.4.23
> $file /lib/libc.so.5.4.23
> /lib/libc.so.5.4.23: ELF 32-bit LSB shared object, Intel 386, version 1,
> stripped
>
> Do you see the word "stripped"? Do you see the `file' linked against the
> _stripped_ library and nevertheless does work?
>
> Evgeny
>
> > On Tue, 2 Dec 1997, Evgeny Stambulchik wrote:
> >
> > > Eli Marmor <marmor@elmar.co.il> wrote:
> > > > It is forbidden to strip shared libraries
> > >
> > > It's incorrect, at least for Linux/ELF. I do it all the time.Did you mean
> > "it
> > > is forbidden to strip shared libraries _currently_ being used by a
> > process"?
> > > Since libc is used by init (I concern here the original poster), it was
> > fatal
> > > :-)
>
>
> --
> ____________________________________________________________
> / Evgeny Stambulchik <fnevgeny@plasma-gate.weizmann.ac.il> \
> / Plasma Laboratory, Weizmann Institute of Science, Israel \ \
> | Phone : (972)8-934-3610 == | == FAX : (972)8-934-3491 | |
> | URL : http://plasma-gate.weizmann.ac.il/~fnevgeny/ | |
> | Finger for PGP key >=====================================+ |
> |______________________________________________________________|
>
Peter Lorand Peres
------------------
plp@actcom.co.il 100310.2360 on CIS (please use Internet address for mail)
http://ourworld.compuserve.com/homepages/plp
"The creed of Inland Revenue is simple: 'If we can bring one little smile to one
little face today - then somebody's screwed up somewhere' - David Frost
(Note: The above stands valid in all countries until proven wrong)