07-30-04 07:48 AM
Måns Rullgård <mru@kth.se> writes:
> borg@swirve.com (Adrian B.) writes:
>
No, not really.
[vbcol=seagreen]
> You could use objcopy to rename those symbols to something harmless.
At least on ELF systems, these symbols are not referenced by the
dynamic loader "by name"; rather their address is recorded in the
the PT_DYNAMIC header as DT_INIT and DT_FINI at link time.
Renaming the _init/_fini will not do the OP any good.
OTOH, binary-editing the .dynamic section and setting DT_INIT/DT_FINI
to some other "harmless" address should do the trick.
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
[ Post a follow-up to this message ]
|