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

Αρχική Σελίδα
Delete this message
Συντάκτης: ND
Ημερομηνία:  
Προς: 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.