Article View: comp.sys.amiga.tech
Article #12055Re: Patching dos.library
From: Pertti Lehtinen
Date: Fri, 31 Mar 1989 15:11
Date: Fri, 31 Mar 1989 15:11
26 lines
1235 bytes
1235 bytes
From article <6462@cbmvax.UUCP>, by eric@cbmvax.UUCP (Eric Cotton): > > SetFunction does indeed return a pointer to the old function. > > oldFunc = SetFunction(library, funcOffset, funcEntry) That makes things interesting. How does find out the address of original function? Does it copy old stub somewhere and return address to that? Or does it simply use stub as normal library stub (jmp xxx), and return xxx. In this case it isn't surprising that it doesn't work with DOS-library. Exec manual don't say anything about return value, so does it just happen under certain circumstances or is it on purpose? Pertti Lehtinen pl@tut.fi pl@tut.fi ! -------------------------------- ! Pertti Lehtinen ! Alone at the edge of the world ! Tampere University of Technology ! -------------------------------- ! Software Systems Laboratory
Technical Details
Message-ID:
<6614@etana.tut.fi>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-lcc!lll-winken!uunet!mcvax!kth!draken!tut!plReferences:
<6462@cbmvax.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-lcc!lll-winken!uunet!mcvax!kth!draken!tut!pl From: pl@etana.tut.fi (Pertti Lehtinen) Newsgroups: comp.sys.amiga.tech Subject: Re: Patching dos.library Message-ID: <6614@etana.tut.fi> Date: 31 Mar 89 15:11:03 GMT References: <6462@cbmvax.UUCP> Sender: News@tut.fi Lines: 26