2
0
mirror of https://github.com/boostorg/context.git synced 2026-01-19 04:02:17 +00:00
Files
PeterYang12 3484575878 Add shadow stack support for fcontext
Shadow stack is part of Intel's Control-Flow Enforcement Technology.

    Whenever a function is called, the return address is pushed onto both
    the regular stack and the shadow stack. When that function returns, the
    return addresses are popped off both stacks and compared; if they fail
    to match, #CP raised.

    Backport this commit from https://github.com/php/php-src/pull/9283
    With this commit, we create shadow stack with syscall map_shadow_stack
    (no.451) for each fiber context and switch the shadow stack accordingly
    during fcontext switch.

Signed-off-by: PeterYang12 <yuhan.yang@intel.com>
Signed-off-by: chen-hu-97 <hu1.chen@intel.com>
2022-09-29 22:58:22 -07:00
..
2022-02-15 17:28:33 +08:00
2022-02-15 17:28:33 +08:00
2021-07-13 21:01:25 +02:00
2022-02-15 17:28:33 +08:00
2021-07-13 21:01:25 +02:00
2017-08-01 09:43:29 +02:00
2016-01-12 20:29:58 +01:00
2017-06-01 18:20:02 +02:00