https://bugs.exim.org/show_bug.cgi?id=2509

--- Comment #7 from H.J. Lu <hjl.to...@gmail.com> ---
I pushed a new patch to

1. Add sljit_emit_ijump_target_start to emit a start instruction at
indirect jump target and call it after sljit_set_put_label(...) in
pcre2_jit_compile to add ENDBR32/ENDBR64 at indirect jump targets.
2. Define ECX_REG to use ECX as scratch register to unwind shadow stack
when returning from JIT.

Tested on i686/x86-64 CET/non-CET Linux machines with

$ CC="gcc -Wl,-z,cet-report=error -fcf-protection -mshstk" ./configure
--enable-jit

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to