我调整到这个地步了 要求内存10g(这样看上去是足够得了 而且也有很多内存浪费).... ![image](https://user-images.githubusercontent.com/30582212/99478852-1cca9500-2990-11eb-8964-0812f8d67ee0.png) 但依然报这个stack overflow的错误。
代码如下(ocall): enclave端: ![image](https://user-images.githubusercontent.com/30582212/99479255-c7db4e80-2990-11eb-863f-218c2be59f66.png) ocall函数的extern声明: ![image](https://user-images.githubusercontent.com/30582212/99479290-d6c20100-2990-11eb-99e5-393c941f0662.png) app端具体ocall函数实现 : ![image](https://user-images.githubusercontent.com/30582212/99479397-0ec94400-2991-11eb-9ee8-051f6b738dbe.png) edl文件: ![image](https://user-images.githubusercontent.com/30582212/99479421-1983d900-2991-11eb-8c55-6c65faece740.png) 基本上就是按照ecall_ipc_app_to_tee实现 ocall返回的数据字节数组inner_len长度是2504955,报错 stack overflow,数据量大概7000条 不是很多 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/435#issuecomment-729361190