https://github.com/kent-3/secret-spf
SGX page fault measurement tool. Used for Secret benchmarks. Based on sgx-perf.
https://github.com/kent-3/secret-spf
Last synced: 14 days ago
JSON representation
SGX page fault measurement tool. Used for Secret benchmarks. Based on sgx-perf.
- Host: GitHub
- URL: https://github.com/kent-3/secret-spf
- Owner: kent-3
- License: unlicense
- Created: 2024-07-20T03:59:55.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-25T19:59:32.000Z (11 months ago)
- Last Synced: 2024-07-25T22:52:59.464Z (11 months ago)
- Language: Rust
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-SGX-Open-Source - https://github.com/kent-3/secret-spf
README
# secret-spf
_Inspired by [phoenix-spf](https://github.com/smherwig/phoenix-spf). `spf` is short for "SGX page fault" (measurement tool)._
## Build and Run
To build and run the `secret-spf` tool locally, follow these steps:
```sh
cargo build --release
sudo ./target/release/secret-spf
```## Optional: Build with Docker
If you need to target a system with a different libc version than the one available locally, you can use Docker for building the project. This method ensures compatibility with different system environments.
### Prerequisites
Make sure you have cargo-make installed:
```sh
cargo install cargo-make
```### Build Using Docker
To build the project using Docker, run the following command:
```sh
cargo make docker-build
```### Target Specific libc Versions
- Ubuntu 20.04 (Focal Fossa): Use the rust:bullseye Docker image.
- Ubuntu 22.04 (Jammy Jellyfish): Use the rust:bookworm Docker image.These images ensure that your build is compatible with the specified versions of glibc.