intel / intel/confidential-computing.sgx.sdk

Illegal instruction

Open
#4 13 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Error when executing: ./SampleCode/SampleEnclave
-----------------------------------------------------------------------
Error Message:
Program received signal SIGILL, Illegal instruction.
abort () at trts_pic.S:538
538 ud2
(gdb) c
Continuing.
[sig_handler sig_handler.cpp:93] signal handler is triggered
[sig_handler sig_handler.cpp:111] exception on ERESUME
[sig_handler sig_handler.cpp:149] NOT enclave signal
-----------------------------------------------------------------------
Latest commit: 0f45cad401e974bee57704f3fb0ff185146bbde2
Merge: a31b0b6 edb1845
Author: lzha101
Date: Tue Mar 20 11:03:05 2018 +0800
Merge pull request intel/confidential-computing.sgx#231 from lzha101/trts_red_zone
Fix red zone issue in continue_execution()
Signed-off-by: Zhang Lili Z

Contributor guide

Open the contributing guide

Research direction

Start by reproducing ./SampleCode/SampleEnclave under the debugger and read the reported paths trts_pic.S:538 and sig_handler.cpp at lines 93, 111, and 149. Compare the failure with the listed commit and its red-zone fix; done means identifying the cause of SIGILL and documenting or validating a fix for the ERESUME failure.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.