[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[6]: Doing Stupid things?!
Peter Lorand Peres <plp@actcom.co.il> wrote:
> 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 ?
$nm /lib/libc.so.5.4.23
/lib/libc.so.5: no symbols
OK, to make you believe :)
$mkdir lib
$cd lib
$cp /lib/libc.so.5.4.23 .
$strip --strip-all libc.so.5.4.23
$/sbin/ldconfig .
$setenv LD_LIBRARY_PATH .
$ldd /bin/ls
libc.so.5 => ./libc.so.5 (0x4000b000)
$ls
libc.so.5@ libc.so.5.4.23*
...Oops, just received Eli's message about "nm --dynamic". Of course, this
gives the whole list of exported symbols.
Evgeny
--
____________________________________________________________
/ 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 >=====================================+ |
|______________________________________________________________|