wasm-micro-runtime/product-mini/platforms/linux-sgx/enclave-sample/Enclave
liang.he 0ec91cee50
Refactoring enclave sample (#4828)
* refactor(ci): production-ready SGX install script with logging and idempotency

- Add comprehensive logging infrastructure to /tmp/install_sgx.log
- Implement idempotency checks for SGX packages and SDK
- Modularize into functions: platform_detect, install_packages, validate_installation, cleanup
- Add strict error handling with set -euo pipefail and error traps
- Replace FIXME with proper environment sourcing documentation
- Add dynamic platform detection for Ubuntu 20+/Debian 11/12
- Ensure minimal console output (final status only) with all details in log
- Verify all acceptance scenarios pass with comprehensive testing

* Refactoring enclave-sample aligning sgx BKM.

- Buffer interface redesign to separate input and output
- prevent untrusted pointer
- add module and instance handle release functions for better resource management
2026-03-06 21:19:41 +08:00
..
Enclave_minimal.edl Support get return value for SGX os_printf/os_vprintf (#1387) 2022-08-16 14:23:34 +08:00
Enclave_private.pem Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00
Enclave_test.cpp Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00
Enclave.config.xml Refactoring enclave sample (#4828) 2026-03-06 21:19:41 +08:00
Enclave.cpp Refactoring enclave sample (#4828) 2026-03-06 21:19:41 +08:00
Enclave.edl Refactoring enclave sample (#4828) 2026-03-06 21:19:41 +08:00