.. | ||
embedded_mode | ||
fish | ||
gdb_support | ||
golang | ||
grpc | ||
hello_bazel | ||
hello_c | ||
hello_cc | ||
https_server | ||
java | ||
local_attestation | ||
openvino | ||
python | ||
remote_attestation | ||
rust | ||
sqlite | ||
tensorflow_lite | ||
xgboost | ||
README.md |
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.
- https_server: A HTTPS file server based on Mongoose Embedded Web Server Library.
- grpc: A client and server communicating through gRPC.
- openvino A benchmark of OpenVINO Inference Engine.
- sqlite A demo of SQLite SQL database engine.
- tensorflow_lite: A demo and benchmark of Tensorflow Lite inference engine.
- xgboost: A demo of XGBoost.
Programming language demos
This set of demos shows how apps written with popular programming languages can be run inside SGX enclaves with Occlum.
- golang: A Golang web server demo app.
- java: A demo of Java program.
- python A demo of Python program.
- rust A demo of Rust program.
Other demos
- 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.