www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20933] New: druntime: core.thread doesn't support shadow stack

https://issues.dlang.org/show_bug.cgi?id=20933

          Issue ID: 20933
           Summary: druntime: core.thread doesn't support shadow stack
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

As druntime manipulates user stack and doesn't support shadow stack from Intel
CET.

This _might_ be a problem on linux/glibc platforms that are configured to make
use of this feature, but I haven't looked too hard at it to give a definitive
yes/no.

https://software.intel.com/content/www/us/en/develop/articles/intel-sdm.html

--
Jun 15