occlum/demos
2024-01-10 09:49:59 +08:00
..
bash Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
benchmarks Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
bigdl-llm [demos] Update readme of demo llm 2023-10-18 14:32:08 +08:00
cluster_serving Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
deployment Signed-off-by: 景涛 <jingtao3@hust.edu.cn> 2023-04-18 13:12:37 +08:00
embedded_mode Update embedded_mode demo with bom file 2021-09-26 16:34:52 +08:00
enclave_tls Signed-off-by: 景涛 <jingtao3@hust.edu.cn> 2023-04-18 13:12:37 +08:00
fish Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
flink Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
font/font_support_for_java Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
gdb_support Rename "occlum_context" to "occlum_instance" for demos 2020-08-15 19:12:39 +08:00
golang Add go exec call demo in occlum 2024-01-10 09:49:59 +08:00
grpc Signed-off-by: 景涛 <jingtao3@hust.edu.cn> 2023-04-18 13:12:37 +08:00
hello_bazel Fix bazel CI failure 2023-11-07 16:46:58 +08: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 Enhance the script of demos to support re-execute and other OS 2022-07-07 09:34:38 +08:00
java Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
linux-ltp Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
local_attestation Signed-off-by: 景涛 <jingtao3@hust.edu.cn> 2023-04-18 13:12:37 +08:00
mysql Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
netty_ut Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
openvino Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
paddlepaddle Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
python Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
pytorch Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
redis Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
remote_attestation Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
runtime_boot Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
rust [demos] Add a multithread mmap rust demo 2023-09-25 17:06:13 +08:00
sofaboot Update demos to enable EDMM features 2023-11-07 09:26:20 +08:00
sqlite Update sqlite demo with copy_bom tool 2021-09-26 15:36:09 +08:00
swtpm add swtpm demo 2023-08-24 16:12:26 +08:00
tensorflow Fix tensorflw serving error 2023-11-07 09:26:20 +08:00
tensorflow_lite Enhance the script of demos to support re-execute and other OS 2022-07-07 09:34:38 +08:00
xgboost [demos] Improve steps of dependency preinstall 2023-03-29 09:31:20 +08:00
README.md add swtpm demo 2023-08-24 16:12:26 +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.

Benchmark demos

This set of demos shows how commonly used benchmarking tools can be 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.