Skip to content

如何关闭mesapy sgx example print打印? #25

@aqinwenky

Description

@aqinwenky

我的操作如下:

make sgx
source /opt/intel/sgxsdk/environment 
cd sgx/examples/hello_world
make SGX_PRERELEASE=1 SGX_DEBUG=0
./app

结果如下:
image

我理解say()函数是运行在SGX enclave区域的,编译方式是pre_release这种方式,print应该是无法将数据打印到普通内存的。

但是print依然可以打印到终端,是我理解有错误吗?请大神们帮忙解决下。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions