apache / apache/teaclave-sgx-sdk

is there any way run fortran code in sgx

Open
#244 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.2k
Forks
268
PR merge metrics
No merged PRs in 30d

Description

Hello,
I have a fortran demo code,only impl add function(https://github.com/z1queue/fortran_demo.git).
then use " cargo test -- --nocapture" can get the correct result in unit test
![image](https://user-images.githubusercontent.com/53327024/83607212-64f62680-a5ad-11ea-98c9-f55f82fa26ac.png)

now i want to take this function in sgx, so i update the samplecode/hello-rust(https://github.com/z1queue/hello-rust.git) in v1.1.1, it compilate successful but return wrong result,it seem the fortran code not work(result is initialize value).
![image](https://user-images.githubusercontent.com/53327024/83608916-17c78400-a5b0-11ea-95d7-f6326c366433.png)

Can you give me some suggestion about this?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the standalone fortran_demo add function with `cargo test -- --nocapture`, then compare it with the modified `samplecode/hello-rust` in v1.1.1. Trace the function’s result in the SGX sample and document what causes the initialized value instead of the expected result; done means the Fortran function works correctly in SGX or the limitation is clearly explained.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran, rust
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.