Common runtime environment

A thread is represented by a Library Anchor Area (LAA). All thread- and enclave-related resources can be located either directly within the LAA or through the LAA. An enclave is one or more executable programs each containing one or more compilation units. The executable program that contains the main routine is known as the root executable. An enclave can consist of multiple executable programs. Fetch mechanisms, such as the C fetch() function or DLL load, introduce a new executable program into the enclave.