Look at the binder CHANGE directive

On Wed, 15 Apr 2020 15:43:49 -0400 Phil Smith III <[email protected]> wrote:

:>I have a use case that's reasonable enough that it might be supported, yet 
odd enough that I'd be unsurprised if it isn't.
:>
:> 
:>
:>Suppose we have a function called AX that we call. At times it would be 
useful to be able to relink a program that calls AX to add a "shim"-let's call 
it AXPRIME-between the program and AX. Yet we don't want to change that program 
code, just relink it (or point at a different library and make a dynamic call 
to AX).
:>
:> 
:>
:>Ideally, we could tell the linker "OK, load deck AXPRIME [which has entry 
point AX defined]; now include deck AX but rename entry point AX in that deck 
to AXMINUS". And the AXPRIME code would call AXMINUS to do what AX usually does.
:>
:> 
:>
:>The alternative-hacking AX itself-is of course possible but undesirable, 
because we don't want the shim functionality to be there all the time, as it 
represents a security hole. The shim is added explicitly when needed, so it's a 
"your gun, your foot" deal.
:>
:> 
:>
:>Anyone know whether this is possible with IEWL or anything else?
:>
:>
:>----------------------------------------------------------------------
:>For IBM-MAIN subscribe / signoff / archive access instructions,
:>send email to [email protected] with the message: INFO IBM-MAIN

--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to