occlum/demos
2022-11-01 15:21:52 +08:00
..
bash Fix the bash demo by increasing the stack size 2021-12-14 10:58:09 +08:00
cluster_serving Enhance the script of demos to support re-execute and other OS 2022-07-07 09:34:38 +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
fio Add the FIO demo 2022-10-26 13:00:19 +08:00
fish Fix demo compilation error with occlum-gcc on ubuntu 20.04 2022-02-15 17:44:28 +08:00
flink Enhance the script of demos to support re-execute and other OS 2022-07-07 09:34:38 +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 [demos] Fix the issue of grpc_benchmark not working on go 1.18 2022-11-01 15:21:52 +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
iperf2 Add iperf2 demo 2022-06-05 15:46:07 +08:00
java Modify demos to enable autodep without creating softlinks 2021-09-23 15:42:15 +08:00
linux-ltp Fix the SEGV in LTP test 2022-08-10 16:42:56 +08:00
local_attestation Update local_attestation demo with copy_bom tool 2021-09-26 15:36:09 +08:00
openvino Enhance the script of demos to support re-execute and other OS 2022-07-07 09:34:38 +08:00
python [demos] Fix flask_tls python packages dependency issue 2022-10-31 17:30:43 +08:00
pytorch Set conda python version as 3.8.10 to workaround non-PIE issues 2022-10-27 10:32:01 +08:00
ra_tls [demos] Update demo scripts with new helper command 2022-10-18 23:58:16 +08:00
redis Update redis demo with copy_bom tool 2021-09-26 15:36:09 +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 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 Set conda python version as 3.8.10 to workaround non-PIE issues 2022-10-27 10:32:01 +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 Enhance the script of demos to support re-execute and other OS 2022-07-07 09:34:38 +08:00
README.md Add the FIO demo 2022-10-26 13:00:19 +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.