occlum/demos
2022-03-07 16:05:08 +08:00
..
bash Fix the bash demo by increasing the stack size 2021-12-14 10:58:09 +08:00
cluster_serving Update cluster serving demo with copy_bom 2021-09-26 21:06:59 +08:00
deployment Fix SGX SDK version for package related tests 2021-10-09 15:49:28 +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 Fix demo compilation error with occlum-gcc on ubuntu 20.04 2022-02-15 17:44:28 +08:00
flink modify demos after implementing autodep for copydirs 2021-09-24 19:02:26 +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 Update ping/pong demo with bom file 2021-09-26 16:34:52 +08:00
grpc Add gRPC glibc demo and stress test 2022-03-04 11:37:13 +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 Update https_server demo with copy_bom tool 2021-09-26 15:36:09 +08:00
java Modify demos to enable autodep without creating softlinks 2021-09-23 15:42:15 +08:00
linux-ltp Enlarge kernel heap size for ltp demo 2021-12-07 09:48:46 +08:00
local_attestation Update local_attestation demo with copy_bom tool 2021-09-26 15:36:09 +08:00
openvino Upgrade CI image to ubuntu20.04 2022-03-04 11:37:13 +08:00
python Add flask tls server demo 2022-03-07 16:05:08 +08:00
pytorch doc(demos/PyTorch): fix wrong message in README 2021-12-22 08:16:27 +08:00
redis Update redis demo with copy_bom tool 2021-09-26 15:36:09 +08:00
remote_attestation Set SONAME for Occlum DCAP library 2022-02-11 11:10:02 +08:00
rust Modify rust demo with copy_bom 2021-09-17 15:50:15 +08:00
sofaboot Update sofaboot demo with openjdk 8 option 2021-12-06 13:47:27 +08:00
sqlite Update sqlite demo with copy_bom tool 2021-09-26 15:36:09 +08:00
sysbench Add sysbench demo case 2021-11-25 11:40:07 +08:00
tensorflow Update tensorflow demos with copy_bom 2021-09-26 21:06:59 +08:00
tensorflow_lite Update tflite demo with bom file 2021-09-26 16:34:52 +08:00
xgboost Upgrade CI image to ubuntu20.04 2022-03-04 11:37:13 +08:00
README.md Add gRPC glibc demo and stress test 2022-03-04 11:37:13 +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.