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

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

2018-07-10 Thread Charles Mills
- 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 can issue the BPX

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,