c++ - 英特尔 SGX 错误 : What does the 8207 error mean when I cannot load the enclave correct

标签 c++ intel sgx

我制作了以下 enclave 和加载 enclave 的应用程序:

https://github.com/pc-magas/myFirstEnclave/tree/run_fail

如您所见,我加载了错误的 enclave 路径,因此应用程序无法按预期运行,当示例中发生这种情况时,它会返回错误:

SGX error code: 8207

Fail to initialize enclave.

但我无法理解 8207 错误代码的含义,据我所知,文档中的错误代码并未提及我:https://software.intel.com/en-us/node/709252

那么你能解释一下这个错误代码是什么意思吗?

最佳答案

8207(十进制)是 200F(十六进制),您的链接显示:

0x200F | SGX_ERROR_ENCLAVE_FILE_ACCESS          | Can’t open enclave file.

这是您在通过错误路径时所期望的结果。

关于c++ - 英特尔 SGX 错误 : What does the 8207 error mean when I cannot load the enclave correct,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47730062/

相关文章:

c++ - 如何正确构建 OOP 和多文件项目?

assembly - 指令 "CVTTPD2PI mm, xmm/m128"可用的 CPUID 是多少?

android - 无法安装英特尔 HAXM - 无错误消息,无设置屏幕

c++ - 无法在硬件模式下创建 SGX 飞地 - "invalid launch token",即使文档将无效的启动 token 指定为第一个

sgx - 如何证明某些数据是在Enclave(Intel SGX)内部计算(或生成)的?

c++ - 相同的声明两种不同的类型

c++ - 将 minkowski 差异减少到仅其外壳顶点?

c++ - g++ 和运算符 << 在评估期间更改值时会产生意外结果

x86 - 英特尔的最后分支记录功能是英特尔处理器独有的吗?

docker - Docker容器或其他非C程序可以作为Intel SGX受信任(飞地)组件运行吗?