Re: [PATCH 6/8] selftests/sgx: Ensure expected enclave data buffer size and placement

From: Jo Van Bulck
Date: Sat Aug 19 2023 - 04:10:07 EST


On 18.08.23 06:10, Huang, Kai wrote:
Firstly, these two problems are independent. Could you split this into two
patches? One to preserve the entire buffer, the other to always place the
buffer at the beginning.

Makes sense, doing this for the next revision.

Secondly, as replied to v1, I think we can use "used" gcc attribute to always
preserve the buffer?

Thanks for the suggestion. Yes, I was not aware of this attribute, but it is indeed exactly what we need in this case. Applying this in the next revision.

Best,
Jo