Help with procedure to Link new module against pre-existing executable...

Help with procedure to Link new module against pre-existing executable...

Post by Mr.Bi » Mon, 31 May 1999 04:00:00

If anyone knows of a more appropriate place to post or receive answers to this...Please let me know.

I was just brought on to a project that will be patching software.  The idea is to patch software
temporarily until the next build.

The patch will be loaded into some free memory and a jump instruction will be inserted in the main
application to call the new patch.

If I have a function foo() that needs to be patch (for whatever reason), I will code a new function
foo() and compile it.  However, because I am replacing the function, I will still have to use the
addresses used in the original linking for variable references and function calls.

This is what I am looking for help on...How to link this new module.

Any help would be appreicated.



1. PPP on a pre-existing WAN

Hello there.

I have a problem in which I'm using a Linux box on a WAN that has TCP/IP
and valid IP addresses, but is behind a firewall which only permits email
to flow in and out.

My solution was to connect to my ISP using PPP.  This solution works less
one problem.  I'm confused about setting up the routing tables.  I'm
obviously doing something wrong as whatever I do I can either connect to
local *LAN* sites or remote sites but not both (and not to sites on our
WAN, but not on our LAN).

I have slackware 3.2 and I basically added this to my /etc/ppp/ip-up

/sbin/route add default gw $5

or something like that (not on the machine currently).  But this doesn't
seem to let me connect to both local and remote sites.  Can anyone clue me




2. How can I tell when date has been changed?

3. "mv" doesn't check for pre-existing destination

4. SCO, TCP/IP 1.21 termial overrun and lockup problems, heeeelp

5. Patch: linux-2.5.58/drivers/base/bus.c ignored pre-existing devices

6. More on aXe

7. Installing Solaris 8 with pre-existing win 2000

8. HELP Operation not permitted Question

9. iptables & pre-existing streaming sessions

10. Installing FreeBSD on Win95 system (no pre-existing unix OS present)

11. Solaris 10, Mirroring, pre-existing disk

12. XView 3.0 compiled/linked against new libs?

13. Building a new module from an existing one