- Is it possible to package a binary running in gramine-sgx as a new binary?Sorry, I don't understand this question / what you are trying to do.
- Is there a way of retrieving information such as the base address of the enclave?Yes, but that's not really useful for anything, I think. You should be able to see it in outputs of our tools when e.g. signing an enclave.
- Is it possible to combine gramine execution with sgx_urts?Why would you do that? Gramine is an SGX framework, and SGX SDK is another framework. It's like trying to build one web app in both Flask and Django at the same time ;)
Hi,
thanks for the quick reply. I have some more questions:
- Is it possible to package a binary running in gramine-sgx as a new binary?
- Is there a way of retrieving information such as the base address of the enclave?
- Is it possible to combine gramine execution with sgx_urts?
Regards,
Anja Rabich
- Is it possible to combine gramine execution with sgx_urts?Why would you do that? Gramine is an SGX framework, and SGX SDK is another framework. It's like trying to build one web app in both Flask and Django at the same time ;)
Does Gramine not use the SDK? What I meant to ask is if it's possible to combine Gramine execution with the ability to call an Enclave with sgx_create_enclave() after the enclave was built using make and Gramine's manifest (where the enclave is a *.so). Apologies if its a stupid question...
I was hoping of being able to combine Gramine's functionality of running binaries in SGX with another SGX Framework's functionality.
Hello again,
so more specifically, I was hoping on being able to combine the
single stepping ability of sgx-step with gramine. Essentially this
patch
https://github.com/jovanbulck/sgx-step/blob/56ec2ad08dd10aa6539dadec3b49dae435f390c5/sdk/intel-sdk/0001-reconfigure-AEP-TCS-ebase.patch
is applied to the SGX SDK in order to hand the aep and tcp to the
sgx-step driver. My understanding of your gdb integration is that
it does something rather similar? Would it be possible to apply a
similar patch to gramine? Not for anything production level
ofcource, purely for academic purposes O:)