Date: Tue, 21 Dec 1999 15:14:00 -0500 From: David Quattlebaum <David.Quattlebaum@sas.com> To: 'FreeBSD Hackers' <freebsd-hackers@freebsd.org> Subject: modifying an object file Message-ID: <5FA575D78630D3118B2E0090276DC89F01B59270@merc08.us.sas.com>
next in thread | raw e-mail | index | archive | help
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 accomplished this without having to dissect the ELF object, change it and reconstruct the pieces? Thanks. -- David Quattlebaum, (david.quattlebaum@sas.com <mailto:david.quattlebaum@sas.com> ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5FA575D78630D3118B2E0090276DC89F01B59270>