Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 3.64 KB

README.md

File metadata and controls

50 lines (38 loc) · 3.64 KB

Demos

This directory contains sample projects that demonstrate how Occlum can be used to build and run user applications.

Toolchain demos

This set of demos shows how the Occlum toolchain can be used with different build tools.

  • hello_c: A sample C project built with Makefile/CMake.
  • hello_cc: A sample C++ project built with Makefile/CMake.
  • hello_bazel: A sample C++ project built with Bazel.

Application demos

This set of demos shows how real-world apps can be easily run inside SGX enclaves with Occlum.

Programming language demos

This set of demos shows how apps written with popular programming languages can be run inside SGX enclaves with Occlum.

Other demos

  • embedded_mode: A cross-enclave memory throughput benchmark enabled by the embedded mode of Occlum.
  • enclave_tls: Running TLS server inside Occlum. Client connects with server associate with Enclave-RA information.
  • gdb_support: This demo explains the technical detail of GDB support and demonstrates how to debug an app running upon Occlum with GDB.
  • local_attestation: This project demonstrates how an app running upon Occlum can perform SGX local attestation.
  • remote_attestation: This project demonstrates how an app running upon Occlum can perform SGX remote attestation.