Re: load module loaded address between BPX LOAD (load_hfs) and ptrace+fork+exec?

2018-07-10 Thread Paul Gilmartin
On Tue, 10 Jul 2018 13:08:44 -0400, Thomas David Rivers wrote: >In a program, you can issue the BPX LOAD service to load a program >into memory... and similar to the LOAD macro, this returns the address >where the module was loaded, and the starting address. > >Now - is there any guarantee that if

Re: load module loaded address between BPX LOAD (load_hfs) and ptrace+fork+exec?

2018-07-10 Thread Peter Hunkeler
>In a program, you can issue the BPX LOAD service to load a program into memory... and similar to the LOAD macro, this returns the address where the module was loaded, and the starting address. >Now - is there any guarantee that if you then do a BPX FORK and then a BPX EXEC to execute the module,

Re: load module loaded address between BPX LOAD (load_hfs) and ptrace+fork+exec?

2018-07-10 Thread Charles Mills
riginal Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Thomas David Rivers Sent: Tuesday, July 10, 2018 10:09 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: load module loaded address between BPX LOAD (load_hfs) and ptrace+fork+exec? In a program, you ca

load module loaded address between BPX LOAD (load_hfs) and ptrace+fork+exec?

2018-07-10 Thread Thomas David Rivers
In a program, you can issue the BPX LOAD service to load a program into memory... and similar to the LOAD macro, this returns the address where the module was loaded, and the starting address. Now - is there any guarantee that if you then do a BPX FORK and then a BPX EXEC to execute the module, t