occlum/demos
2021-09-17 15:50:15 +08:00
..
bash Add Bash demo 2021-08-13 19:23:16 +08:00
cluster_serving Fix Cluster Serving demo classpath 2021-08-16 21:04:22 +08:00
deployment Add SGX v2 self hosted machine for CI 2021-09-03 18:42:50 +08:00
embedded_mode Add support for pal library to run libos outside occlum instance 2020-09-18 12:39:12 +08:00
enclave_tls Update enclave-tls demo test 2021-06-29 21:21:35 +08:00
fish Fix Fish demo and related CI 2021-08-13 17:05:23 +08:00
flink Update the shell for run flink jobs example 2021-06-11 20:35:37 +08:00
font/font_support_for_java Polish some documents 2021-04-01 12:32:58 +08:00
gdb_support Rename "occlum_context" to "occlum_instance" for demos 2020-08-15 19:12:39 +08:00
golang Add the HashiCorp Vault demo 2021-04-16 18:32:51 +08:00
grpc Add resolv-conf parser 2021-07-28 10:52:46 +08:00
hello_bazel Improve Occlum GCC toolchain with new wrappers for binaries 2019-11-29 11:20:00 +00:00
hello_c Modify hello_c demo with copy_bom 2021-09-17 15:50:15 +08:00
hello_cc Modify hello_cc demo with copy_bom 2021-09-17 15:50:15 +08:00
https_server Improve Occlum GCC toolchain with new wrappers for binaries 2019-11-29 11:20:00 +00:00
java Modify java demo with copy_bom 2021-09-17 15:50:15 +08:00
local_attestation Fix golang grpc and local attestation demo to align with occlum 0.16.0 2020-09-20 10:39:54 +08:00
openvino Add support for OpenVINO 2021.3 2021-07-13 15:08:19 +08:00
python Modify python-glibc demo with copy_bom 2021-09-17 15:50:15 +08:00
pytorch Fix the script of running Python demo 2021-07-13 19:31:28 +08:00
redis Polish some documents 2021-04-01 12:32:58 +08:00
remote_attestation Add dcap rust based library and C test program 2021-07-20 11:17:09 +08:00
rust Modify rust demo with copy_bom 2021-09-17 15:50:15 +08:00
sofaboot Add SOFABoot demo 2021-04-20 10:52:30 +08:00
sqlite Add '-DSQLITE_MMAP_READWRITE' for SQLite demo 2021-05-31 18:48:24 +08:00
tensorflow Seperate ssl generation with environment preparation 2021-09-03 18:42:50 +08:00
tensorflow_lite Fix tensorflow lite demo eigen download failure 2020-08-28 21:26:48 +08:00
xgboost Update the xgboost to latest version 2020-10-18 09:59:06 +08:00
README.md Optimize tensorflow_serving workflow 2021-08-16 16:58:03 +08:00

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.