Skip to content

Conversation

@csegarragonz
Copy link
Collaborator

@csegarragonz csegarragonz commented Oct 11, 2021

In this PR I change the way we register native symbols in the SGX+WAMR setting.

More precisely, I change the symbol registration to match the mechanism we already use for (non-SGX) WAMR:

  • Split native_symbols_wrapper.cpp into different files with more descriptive filenames.
  • Use the NativeSymbols object size to infer the number of registered symbols.
  • Add a src/sgx/native.cpp file with a class to abstract the initialisation process.

@csegarragonz csegarragonz self-assigned this Oct 11, 2021
@csegarragonz csegarragonz marked this pull request as draft October 11, 2021 10:33
@csegarragonz csegarragonz added the wasm/wamr-sgx SGX related stuff. label Oct 11, 2021
@csegarragonz csegarragonz marked this pull request as ready for review October 11, 2021 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasm/wamr wasm/wamr-sgx SGX related stuff.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants