This directory contains sample projects that demonstrate how Occlum can be used to build and run user applications.
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.
This set of demos shows how real-world apps can be easily run inside SGX enclaves with Occlum.
- https_server: A HTTPS file server based on Mongoose Embedded Web Server Library.
- golang: A Golang web server demo app.
- grpc: A client and server communicating through gRPC.
- openvino A benchmark of OpenVINO Inference Engine.
- python A demo of Python.
- rust A demo of Rust.
- sqlite A demo of SQLite SQL database engine.
- tensorflow_lite: A demo and benchmark of Tensorflow Lite inference engine.
- xgboost: A demo of XGBoost.
- embedded_mode: A cross-enclave memory throughput benchmark enabled by the embedded mode of Occlum.
- 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.