Commit Graph

778 Commits

Author SHA1 Message Date
zherczeg
012fccbcda Reworking bash glob conversion. 2017-05-17 13:44:24 +00:00
ph10
4ce1e1ba1a Get rid of literal strings in conversion functions. 2017-05-16 12:42:17 +00:00
zherczeg
76eecd25a0 Initial version of bash glob conversion. 2017-05-16 07:14:11 +00:00
ph10
f721ece52e Experimental conversion: fix POSIX BRE starting ^*. 2017-05-14 12:04:13 +00:00
ph10
902e9526a1 Updates to experimental conversion code. 2017-05-13 17:46:27 +00:00
ph10
41adc2505d More refactoring for ovector addressing. 2017-05-11 16:49:58 +00:00
ph10
35df08923e A better fix for oss-fuzz 1465. 2017-05-11 16:28:54 +00:00
ph10
7ef8d6c0e2 Refactor to avoid sanitize warnings when accessing the variable size ovector in
the backtracking frame. Fixes oss-fuzz issue 1465. Also make -bigstack in 
RunTest allocate a 64Mb stack for use with clang sanitizing.
2017-05-10 18:21:03 +00:00
ph10
a0231f7bd4 Refactor to avoid picky compiler warnings. Fixes oss-fuzz issue 1454. 2017-05-10 16:44:33 +00:00
ph10
af892185d9 Correct fix for experimental POSIX pattern translation. 2017-05-10 15:42:13 +00:00
ph10
1dc6dc7cc7 Fix bug in experimental conversion code. 2017-05-09 10:44:50 +00:00
zherczeg
daf71631df Improve first bitset search in JIT. 2017-05-09 08:42:46 +00:00
ph10
2fe1c75b46 Fix typos in macros for experimental convert functions. 2017-05-08 15:07:34 +00:00
zherczeg
a742755d1b Continue reworking first character search in JIT. 2017-05-08 13:32:59 +00:00
zherczeg
59937cffce Improve first character searches. 2017-05-08 03:35:40 +00:00
ph10
0400a5ab01 Fix memory leak in pcre2test (found by Coverity Scan). 2017-05-07 15:55:41 +00:00
zherczeg
df006fa5ee JIT: Allow early quit in fast forward search. 2017-05-07 14:28:37 +00:00
zherczeg
172a9f16de JIT compiler update. 2017-05-07 07:10:16 +00:00
ph10
194f83a838 Fix crash when more than one kind of "push" was set in pcre2test. 2017-05-06 16:56:07 +00:00
ph10
a4d981cac5 Experimental pattern conversion code (no public documentation yet). 2017-05-06 16:19:39 +00:00
zherczeg
c382bbe1fd JIT compielr update. 2017-04-26 08:34:09 +00:00
ph10
3f0fca1928 Add a fancy test for multiple named subpatterns. 2017-04-22 14:35:14 +00:00
ph10
88c15c7aa5 Documentation update. 2017-04-21 16:30:18 +00:00
ph10
481b69c21b Tidy comments about UTF case-independence. 2017-04-20 16:51:36 +00:00
ph10
e66c7a5021 Documentation update. 2017-04-20 16:34:35 +00:00
ph10
d85702a178 Implement Perl's /n option, which is the same as PCRE2_NO_AUTO_CAPTURE. 2017-04-18 16:21:50 +00:00
zherczeg
cf4ef27d47 Improve prefix character scanning in JIT. 2017-04-18 14:37:01 +00:00
ph10
b8fd3208e2 Implement PCRE2_EXTENDED_MORE and friends. 2017-04-18 12:32:52 +00:00
zherczeg
38d1bcccf8 Refactor SSE2 accelerated first character search in JIT. 2017-04-18 05:49:39 +00:00
ph10
60a8cf8004 Documentation update. 2017-04-17 15:39:09 +00:00
ph10
da1643f673 Documentation update. 2017-04-17 15:24:41 +00:00
zherczeg
3fd917e97c SSE2 accelerated first character pair search in JIT. 2017-04-17 14:54:04 +00:00
ph10
87ccc12cb2 Tidies and minor bug fix resulting from Coverity Scan issues. 2017-04-16 16:49:11 +00:00
ph10
72ada2e30e Update 16-bit and 32-bit tests. 2017-04-16 13:04:57 +00:00
ph10
edc6a4e59c Improve testing coverage with updates to pcre2test and test files; also get rid
of redundant code in pcre2_match().
2017-04-16 13:03:30 +00:00
ph10
54c57f2837 Documentation update. 2017-04-14 12:55:45 +00:00
ph10
7e3b8df4fd Ensure ovector[0,1] are both PCRE2_UNSET during callouts. 2017-04-14 12:39:41 +00:00
ph10
7de34bea6d Correct an incorrect cast. 2017-04-14 12:14:41 +00:00
ph10
f6826ada04 Remove duplication typo. 2017-04-14 12:08:54 +00:00
ph10
3305a18a2f Adjust two match frame variables to save space in 8-bit mode. 2017-04-14 12:02:40 +00:00
ph10
440a2c37f6 Remove redundant line of code (a typo really). 2017-04-14 11:42:02 +00:00
zherczeg
bfbd1b831b Support end anchored in JIT. 2017-04-13 11:52:36 +00:00
ph10
9509836379 Fix valgrind warnings for unset padding at the end of the pcre2_real_code
structure.
2017-04-12 13:48:11 +00:00
ph10
16fac4a2ee Update test output. 2017-04-12 13:26:23 +00:00
ph10
748a802bbd Tidy some confusing code. 2017-04-12 13:26:11 +00:00
ph10
622dc7dc78 Fix ACCEPT issue with ENDANCHORED. 2017-04-11 14:53:26 +00:00
ph10
9d7cf25ee9 Add explicit heap limiting options to pcre2_match(), with associated features
for listing, configuring, etc.
2017-04-11 11:47:25 +00:00
ph10
0f2f75b5e4 Add -jitverify to pcre2test. 2017-04-08 15:35:27 +00:00
ph10
5fbd64ad4f Documentation tidies and code tidies for Windows. 2017-04-08 15:21:39 +00:00
zherczeg
85b6942faf Enabling valgrind disables SSE2 in JIT. 2017-04-07 11:06:56 +00:00