Commit Graph

799 Commits

Author SHA1 Message Date
ph10
d1b8b13374 Implement PCRE2_NEWLINE_NUL. 2017-05-26 17:14:36 +00:00
ph10
47c8f03a99 More conversion development. 2017-05-25 16:34:22 +00:00
zherczeg
d86a1d1953 Support invalid character classes in conversion. 2017-05-25 13:19:42 +00:00
zherczeg
3b754c1735 Support the general case of starstar in glob conversion. 2017-05-24 15:22:03 +00:00
zherczeg
f768cf7003 Rework character range parsing in glob conversion. 2017-05-24 10:14:43 +00:00
ph10
6d9b7f313f Create options file for fuzzer. 2017-05-24 09:10:29 +00:00
ph10
84b70b36d7 Fix potential NULL dereference in new code for surrogate escapes, discovered by
Coverity Scan.
2017-05-23 16:47:29 +00:00
ph10
b4a77c8f2b More experimental convert code evolution. 2017-05-23 16:08:48 +00:00
zherczeg
9f0d6f61bc Use atomic blocks after starstar during conversion. 2017-05-23 15:17:44 +00:00
ph10
5b26798b1a Screw down the depth limit for DFA matching in the fuzzer function. Fixes
OSS-fuzz 1761 (I hope).
2017-05-22 18:06:55 +00:00
zherczeg
eddd74fb6f Implement flags in the glob convert functions. 2017-05-22 10:23:36 +00:00
ph10
5ce90cd4ea Documentation update. 2017-05-20 16:25:29 +00:00
ph10
b137d49d4b Commit an experimental fuzzer dictionary. 2017-05-20 15:34:50 +00:00
ph10
58bd4aa3cc Add a call to pcre2_dfa_match() to the fuzzer driver. 2017-05-20 14:28:11 +00:00
ph10
cfd8c7c56a pcre2test can now handle lists of conversion options. 2017-05-20 11:40:12 +00:00
ph10
6254fe05c9 Tests update. 2017-05-19 16:41:10 +00:00
zherczeg
424c2bbe30 Implement starstar in glob conversion. 2017-05-19 03:55:39 +00:00
ph10
b2914e591b Conversion code update (revised option definitions). 2017-05-18 14:42:19 +00:00
ph10
4f73dca395 Test update. 2017-05-18 14:21:55 +00:00
zherczeg
9903bfdbf9 Support character classes in glob conversion. 2017-05-18 06:46:22 +00:00
ph10
c6d7f9deae Add additional compile options and PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES. 2017-05-17 17:55:11 +00:00
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