You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by gjj <no...@github.com.INVALID> on 2020/11/16 01:36:42 UTC

[apache/incubator-teaclave] How do I add the ocall function (#434)

I write an ocall function on the app of execution.

And then in enclave_ fa.edl, This ocall function declaration is added to the untrusted area of the file. Then I went to executor/src/builtin.rs The ocall function is introduced by using extern "C".

when i compile ,it go wrong :
undefined reference to "ocall_test_func"

I'm following the "ocall_ handle_ file_request”you wrote. this ocall function can comile.  but my custom ocall go wrong,  so how can i do that?


-- 
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/434

Re: [apache/incubator-teaclave] How do I add the ocall function (#434)

Posted by gjj <no...@github.com.INVALID>.
oh  i know  that

-- 
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/434#issuecomment-727787423

Re: [apache/incubator-teaclave] How do I add the ocall function (#434)

Posted by gjj <no...@github.com.INVALID>.
Reopened #434.

-- 
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/434#event-3998646780

Re: [apache/incubator-teaclave] How do I add the ocall function (#434)

Posted by gjj <no...@github.com.INVALID>.
Closed #434.

-- 
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/434#event-3998773487

Re: [apache/incubator-teaclave] How do I add the ocall function (#434)

Posted by gjj <no...@github.com.INVALID>.
Closed #434.

-- 
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/434#event-3998098310