openenclave / oeedger8r-cpp

An implementation of oeedger8r in C++
MIT License
8 stars 13 forks source link

Disable deepcopy for out parameters #51

Closed mingweishih closed 4 years ago

mingweishih commented 4 years ago

This PR disables the support of deepcopy on out parameters (i.e., annotate a pointer of user-defined struct with out attribute). This is because of the callee cannot know the size (i.e., a member of the struct whose value will be copied) of nested buffers.

Signed-off-by: Ming-Wei Shih mishih@microsoft.com

oe-ci-robot commented 4 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anakrish, mingweishih

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/openenclave/oeedger8r-cpp/blob/master/OWNERS)~~ [anakrish,mingweishih] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment