occlum/demos
Hui, Chunyang 787df74be0 Fix Python test malloc failure on SGX machine
Using tcmalloc could consume more heap. Enlarging kernel heap allocation
can fix this.
Also print result for Python test.
2020-11-18 22:13:34 +08:00
..
embedded_mode Add support for pal library to run libos outside occlum instance 2020-09-18 12:39:12 +08:00
fish Add fish script execute permission since SEFS has more strict checking 2020-08-15 19:12:39 +08:00
font/font_support_for_java Update demos/font/font_support_for_java/README.md 2020-10-21 17:41:49 +08:00
gdb_support Rename "occlum_context" to "occlum_instance" for demos 2020-08-15 19:12:39 +08:00
golang Put the shebang in the front of run_occlum_bench.sh 2020-10-21 10:38:11 +08:00
grpc Rename "occlum_context" to "occlum_instance" for demos 2020-08-15 19:12:39 +08:00
hello_bazel Improve Occlum GCC toolchain with new wrappers for binaries 2019-11-29 11:20:00 +00:00
hello_c Improve Occlum GCC toolchain with new wrappers for binaries 2019-11-29 11:20:00 +00:00
hello_cc Improve Occlum GCC toolchain with new wrappers for binaries 2019-11-29 11:20:00 +00:00
https_server Improve Occlum GCC toolchain with new wrappers for binaries 2019-11-29 11:20:00 +00:00
java Speed up the boot procedure of JVM 2020-09-18 12:39:12 +08:00
local_attestation Fix golang grpc and local attestation demo to align with occlum 0.16.0 2020-09-20 10:39:54 +08:00
openvino Rename "occlum_context" to "occlum_instance" for demos 2020-08-15 19:12:39 +08:00
python Fix Python test malloc failure on SGX machine 2020-11-18 22:13:34 +08:00
remote_attestation Refactor the remote attestation demo 2020-06-23 16:59:33 +08:00
rust Rename "occlum_context" to "occlum_instance" for demos 2020-08-15 19:12:39 +08:00
sqlite Add the SQLite benchmark app 2020-10-10 14:24:29 +08:00
tensorflow_lite Fix tensorflow lite demo eigen download failure 2020-08-28 21:26:48 +08:00
xgboost Update the xgboost to latest version 2020-10-18 09:59:06 +08:00
README.md Add Java demo 2020-07-17 17:35:24 +00: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.
  • 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.