php-src/Zend/asm
Chen, Hu 37b84b7e32
Fiber: add shadow stack support
Shadow stack is part of Intel's Control-Flow Enforcement Technology (CET).

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.

With this commit, we create shadow stack for each fiber context and
switch the shadow stack accordingly during fcontext switch.

Signed-off-by: Chen, Hu <hu1.chen@intel.com>

Closes GH-9283.
2022-11-07 14:48:27 +01:00
..
jump_arm64_aapcs_elf_gas.S
jump_arm64_aapcs_macho_gas.S
jump_arm64_aapcs_pe_armasm.asm Windows arm64 build system support 2022-08-09 16:22:14 +02:00
jump_arm_aapcs_elf_gas.S
jump_arm_aapcs_macho_gas.S Update bundled boost asm to latest versions 2021-11-22 18:00:43 -06:00
jump_combined_sysv_macho_gas.S
jump_i386_ms_pe_masm.asm
jump_i386_sysv_elf_gas.S
jump_i386_sysv_macho_gas.S
jump_mips32_o32_elf_gas.S
jump_mips64_n64_elf_gas.S
jump_ppc32_sysv_elf_gas.S
jump_ppc32_sysv_macho_gas.S
jump_ppc32_sysv_xcoff_gas.S Fix bug #81507: Adjust XCOFF asm files for AIX assembler 2021-11-04 10:54:42 +01:00
jump_ppc64_sysv_elf_gas.S
jump_ppc64_sysv_macho_gas.S
jump_ppc64_sysv_xcoff_gas.S Fix bug #81507: Adjust XCOFF asm files for AIX assembler 2021-11-04 10:54:42 +01:00
jump_riscv64_sysv_elf_gas.S riscv64 support for fibers 2022-01-04 12:06:37 +01:00
jump_s390x_sysv_elf_gas.S
jump_x86_64_ms_pe_masm.asm
jump_x86_64_sysv_elf_gas.S Fiber: add shadow stack support 2022-11-07 14:48:27 +01:00
jump_x86_64_sysv_macho_gas.S
LICENSE
make_arm64_aapcs_elf_gas.S
make_arm64_aapcs_macho_gas.S
make_arm64_aapcs_pe_armasm.asm Windows arm64 build system support 2022-08-09 16:22:14 +02:00
make_arm_aapcs_elf_gas.S
make_arm_aapcs_macho_gas.S
make_combined_sysv_macho_gas.S
make_i386_ms_pe_masm.asm
make_i386_sysv_elf_gas.S
make_i386_sysv_macho_gas.S
make_mips32_o32_elf_gas.S
make_mips64_n64_elf_gas.S
make_ppc32_sysv_elf_gas.S
make_ppc32_sysv_macho_gas.S
make_ppc32_sysv_xcoff_gas.S Fix bug #81507: Adjust XCOFF asm files for AIX assembler 2021-11-04 10:54:42 +01:00
make_ppc64_sysv_elf_gas.S
make_ppc64_sysv_macho_gas.S
make_ppc64_sysv_xcoff_gas.S Fix bug #81507: Adjust XCOFF asm files for AIX assembler 2021-11-04 10:54:42 +01:00
make_riscv64_sysv_elf_gas.S riscv64 support for fibers 2022-01-04 12:06:37 +01:00
make_s390x_sysv_elf_gas.S
make_x86_64_ms_pe_masm.asm
make_x86_64_sysv_elf_gas.S Fiber: add shadow stack support 2022-11-07 14:48:27 +01:00
make_x86_64_sysv_macho_gas.S