- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I call this code from enclave:
/*getting now thread data*/ _thread_data_t *thread_data; thread_data = get_thread_data(); /*case 1 (suspended)*/ ssa_gpr_t *ssa_gpr = reinterpret_cast<ssa_gpr_t *>(thread_data->first_ssa_gpr); int l=0; unsigned long addbp = ssa_gpr->REG(bp_u);
I think this code returns untrusted stack base pointer. So I use that to get return address to application program.
But return value does not point untrusted stack base pointer, ebp. I could not get the EBP of the stack outside Enclave by tracing that value.i can't solve this problem.Please help me.
Thank you
Shohei
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page