> In your example, assigning the value of `env` to `sgx` dose work, but in some 
> crates that depend on `libc`, it may cause the detection `target_env` to 
> fail. For the processing of the CPUID instruction, you can refer to the 
> example code 
> [httpreq](https://github.com/apache/incubator-teaclave-sgx-sdk/tree/v2.0.0-preview/samplecode/httpreq).

Retrieving "CPUID" information through ocalls without sanitizing checking could 
be dangerous, especially for crypto libraries.
https://github.com/gramineproject/graphene/issues/966

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/401#issuecomment-1196095477
You are receiving this because you are subscribed to this thread.

Message ID: <apache/incubator-teaclave-sgx-sdk/issues/401/1196095...@github.com>

Reply via email to