[pcre-dev] [Bug 2509] JIT should emit Control-flow Enforcement Technology (CET) instructions

2020-01-14 Thread admin
https://bugs.exim.org/show_bug.cgi?id=2509 --- Comment #6 from H.J. Lu --- (In reply to Zoltan Herczeg from comment #5) > > Yes, we should emit ENDBR64/ENDBR32 after all indirect branch targets. > > Is there a way to tell that a label is an indirect branch target? > > A label is a label so there

[pcre-dev] [Bug 2509] JIT should emit Control-flow Enforcement Technology (CET) instructions

2020-01-14 Thread admin
https://bugs.exim.org/show_bug.cgi?id=2509 --- Comment #7 from H.J. Lu --- 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 targ

[pcre-dev] [Bug 2511] New: Feature Request: PCRE2_SUBSTITUTE, option for getting *just* the replacement of a single match

2020-01-14 Thread admin
https://bugs.exim.org/show_bug.cgi?id=2511 Bug ID: 2511 Summary: Feature Request: PCRE2_SUBSTITUTE, option for getting *just* the replacement of a single match Product: PCRE Version: 10.34 (PCRE2) Hardware: x86