occlum/demos
2023-03-29 09:31:20 +08:00
..
bash Fix the bash demo by increasing the stack size 2021-12-14 10:58:09 +08:00
benchmarks [demos] Move all the benchmark demos together 2022-11-30 21:25:32 +08:00
cluster_serving Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +08:00
deployment Add deploy template for ubuntu20.04 2022-06-23 18:13:00 +08:00
embedded_mode Update embedded_mode demo with bom file 2021-09-26 16:34:52 +08:00
enclave_tls Update enclave_tls demo with bom file 2021-09-26 16:34:52 +08:00
fish Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +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 Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +08:00
grpc Enhance the script of demos to support re-execute and other OS 2022-07-07 09:34:38 +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 Update local_attestation demo with copy_bom tool 2021-09-26 15:36:09 +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 Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +08:00
paddlepaddle Add PaddlePaddle demo 2023-03-22 10:34:57 +08:00
python [Demo] Fix flask dependencies conflict 2023-02-21 11:17:25 +08:00
pytorch [demos] Use occlum provided libnss libraries for pytorch demo 2023-03-17 16:44:59 +08:00
ra_tls [demos] Update demo scripts with new helper command 2022-10-18 23:58:16 +08:00
redis Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +08:00
remote_attestation [demos] Update demo scripts with new helper command 2022-10-18 23:58:16 +08:00
rust Modify rust demo with copy_bom 2021-09-17 15:50:15 +08:00
sofaboot Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +08:00
sqlite Update sqlite demo with copy_bom tool 2021-09-26 15:36:09 +08:00
tensorflow Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +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 PaddlePaddle demo 2023-03-22 10:34:57 +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.