occlum/demos
LI Qing 6d72e10fc1 Add Golang toolchain and the demo
This commit provides a modified Go runtime in Docker image.
Now we can build a Go program using `occlum-go`, then run it
in SGX enclaves by Occlum.
The Golang demo demonstrates how to build and run a web server
program written in Go.
2020-05-15 03:02:42 +00:00
..
embedded_mode Fix the demo for the embedded mode 2020-04-16 08:46:56 +00:00
gdb_support Add GDB support for apps running upon Occlum 2020-02-14 07:52:45 +00:00
golang Add Golang toolchain and the demo 2020-05-15 03:02:42 +00:00
grpc Fix the demo's compiling failure in some cases 2020-04-15 14:14:00 +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
local_attestation Add local attestation demo 2020-03-09 04:17:41 +00:00
openvino Fix the demo's compiling failure in some cases 2020-04-15 14:14:00 +08:00
python Add Python demo 2020-01-23 04:40:54 +00:00
remote_attestation Polish gRPC and remote attestation demos 2020-01-23 04:40:54 +00:00
sqlite Add SQLite demo 2020-02-25 11:14:48 +00:00
tensorflow_lite Improve Occlum GCC toolchain with new wrappers for binaries 2019-11-29 11:20:00 +00:00
xgboost Fix the demo's compiling failure in some cases 2020-04-15 14:14:00 +08:00
README.md Add Golang toolchain and the demo 2020-05-15 03:02:42 +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.

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.