Skip to content

Workspace overview and structure

Mats edited this page Mar 29, 2020 · 1 revision

In this section we will introduce the structure of our workspace. The following figure shows an overview of the workspace file structure.

image

Here you can see that the project lists the Binaries and Includes and contains a folder sgx. The first two are managed automatically by the IDE. The source code of our application is located in the folder sgx. There are two items located. enclave_sqlite contains our application and the Makefile contains instructions for the building process with make.

๐Ÿ› ๏ธ Makefile

The Makefile acts as a guide in our project and points to the sgx_t_u.mk file in the enclave_sqlite folder. The latter has been autogenerated by the SGX plugin for Eclipse and manually extended by us.

๐Ÿ“‚ enclave_sqlite

The directory enclave_sqlite contains the structure for the untrusted application App and the trusted one, called Enclave. Furthermore, the Eclipse IDE stores the binary files of the application here during the build process. If the build process was not successful, the files app, enclave.signed.so and enclave.so are missing. If the clean command is executed in the workspace, the binary und some other generated files will be deleted.

image