you can do this kind of thing with the bfd tools ...
ron
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
David -
The man page for the ELF linker says:
ld accepts Linker Command Language files to provide ex-
plicit and total control over the linking process. This
man page does not describe the command language; see the
`ld' entry in `info', or the manual ld: the
> -Original Message-
> From: John Baldwin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 21, 1999 3:26 PM
> To: David Quattlebaum
> Cc: FreeBSD Hackers
> Subject: RE: modifying an object file
>
>
>
> On 21-Dec-99 David Quattlebaum wrote:
> > An
On 21-Dec-99 David Quattlebaum wrote:
> Anyone,
>
> I have an object file: foo.o
>
> In foo.o I have a call to bar().
>
> Now, I want foo.o to actually call yo() instead of bar() and say I don't have
> the source
> for foo.c (so recompiling is out of the question). I want to change the
> objec
In message <[EMAIL PROTECTED]> David
Quattlebaum writes:
: Has anyone accomplished this without having to dissect the ELF object, change it
: and reconstruct the pieces?
Change the string table. This is the time honored way of kludging
binaries to do things that the original .o's were never int
Anyone,
I have an object file: foo.o
In foo.o I have a call to bar().
Now, I want foo.o to actually call yo() instead of bar() and say I don't have the
source
for foo.c (so recompiling is out of the question). I want to change the object file
foo.o to call yo() instead of bar().
Has anyone ac
6 matches
Mail list logo