occlum/demos
2023-09-07 15:21:13 +08:00
..
bash Signed-off-by: 景涛 <jingtao3@hust.edu.cn> 2023-04-18 13:12:37 +08:00
benchmarks [docs] Update description for benchmark ci and pages 2023-07-14 11:25:24 +08:00
cluster_serving Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +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 Signed-off-by: 景涛 <jingtao3@hust.edu.cn> 2023-04-18 13:12:37 +08:00
flink [demos] Improve steps of dependency preinstall 2023-03-29 09:31:20 +08:00
font/font_support_for_java Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +08:00
gdb_support Rename "occlum_context" to "occlum_instance" for demos 2020-08-15 19:12:39 +08:00
golang [demos] Specify go-sqlite3 version to avoid build error with go 1.16.3 2023-06-04 20:11:40 +08:00
grpc Signed-off-by: 景涛 <jingtao3@hust.edu.cn> 2023-04-18 13:12:37 +08:00
hello_bazel Update bazel demo with bom file 2021-09-26 16:34:52 +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 Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +08:00
linux-ltp [libos] Add syscall pwritev and preadv 2023-02-24 20:56:17 +08:00
local_attestation Signed-off-by: 景涛 <jingtao3@hust.edu.cn> 2023-04-18 13:12:37 +08:00
mysql [demos] Improve steps of dependency preinstall 2023-03-29 09:31:20 +08:00
netty_ut [demos] Improve steps of dependency preinstall 2023-03-29 09:31:20 +08:00
openvino Signed-off-by: 景涛 <jingtao3@hust.edu.cn> 2023-04-18 13:12:37 +08:00
paddlepaddle Reduce the size of python-related demo for CI 2023-08-14 09:59:19 +08:00
python Reduce the size of python-related demo for CI 2023-08-14 09:59:19 +08:00
pytorch Reduce the size of python-related demo for CI 2023-08-14 09:59:19 +08:00
redis Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +08:00
remote_attestation [demo] Update init_aecs demo by setting PCCS URL when running 2023-09-07 15:21:13 +08:00
runtime_boot Use sefs mount for generating runtime boot rootfs 2023-05-30 10:16:48 +08:00
rust Modify rust demo with copy_bom 2021-09-17 15:50:15 +08:00
sofaboot [demos] Update sofaboot demo with glibc openjdk 8 2023-05-19 09:54:13 +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 Reduce the size of python-related demo for CI 2023-08-14 09:59:19 +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.