occlum/demos
Hui, Chunyang 85501d8993 Improve implementation for occlum build
This commit mainly accomplish two things:
1. Use makefile to manage dependencies for `occlum build`, which can save lots of time
2. Take dirs `build`, `run` outside from `.occlum`. Remove env var "OCCLUM_INSTANCE_DIR"
2020-08-15 19:12:39 +08:00
..
embedded_mode Improve implementation for occlum build 2020-08-15 19:12:39 +08:00
fish Add support for per-process memory size configuration with rlimit 2020-07-17 22:07:56 +08:00
gdb_support Improve implementation for occlum build 2020-08-15 19:12:39 +08:00
golang Make PIE the default mode for Go toolchain 2020-08-11 05:35:43 +00:00
grpc Install zlib in occlum-gcc toolchians 2020-07-17 17:31:41 +00: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 Add Java demo 2020-07-17 17:35:24 +00:00
local_attestation Improve implementation for occlum build 2020-08-15 19:12:39 +08:00
openvino Add Java demo 2020-07-17 17:35:24 +00:00
python Add Java demo 2020-07-17 17:35:24 +00:00
remote_attestation Refactor the remote attestation demo 2020-06-23 16:59:33 +08:00
rust Add the Occlum-compatible Rust toolchains and a demo 2020-05-22 14:36:11 +08:00
sqlite Add SQLite demo 2020-02-25 11:14:48 +00:00
tensorflow_lite Install zlib in occlum-gcc toolchians 2020-07-17 17:31:41 +00:00
xgboost Polish the XGBoost demo 2020-06-05 15:09:26 +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.