wasm-micro-runtime/product-mini/platforms/linux-sgx/enclave-sample
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
..
App Collective fix for typos and minor bugs (#4369) 2025-06-17 09:26:00 +08:00
Enclave Refactoring enclave sample (#4828) 2026-03-06 21:19:41 +08:00
Makefile Fix linux-sgx build error when libc-wasi is disabled (#2997) 2024-01-11 14:26:39 +08:00
Makefile_minimal Fix linux-sgx build error when libc-wasi is disabled (#2997) 2024-01-11 14:26:39 +08:00