[pcre-dev] JIT don't detect endless subroutine recursion

トップ ページ
このメッセージを削除
著者: ND
日付:  
To: Pcre-dev
題目: [pcre-dev] JIT don't detect endless subroutine recursion

Good day!


PCRE2 version 10.33 2019-04-16
/(?0)/
abc
Failed: error -52: nested recursion at the same subject position


As I can see interpreter recognize this endless recursion right away.
But JIT don't. It recursed unless memory is run out:

Failed: error -46: JIT stack limit reached


May be it's useful to teach JIT detect this kind of recursion at early
stage as unterpreter do.


Thanks.