Using a Function



Having successfully separated the tasks of creating the LE enclave from the ability to exploit it, it was time to convert the creation task into an External Function.

The function accepts the LE compliant program name as a parameter, creates the LE enclave, and appends the control information to the program name, placing it all in an 18 byte REXX variable (LE_CNTL). (The variable name is arbitrary, so any valid REXX variable name could be used without the need to change the Assembler code).

These are the components used to demonstrate using an External Function



Copyright © Legac-e Education 2022-