Commit Graph

31 Commits

Author SHA1 Message Date
ph10
05daa4f9a2 Make pcre2_dfa_match() take notice of the match limit, to catch patterns that
use too much resource. This should fix oss-fuzz 1761.
2017-05-30 10:42:57 +00:00
ph10
bba24f59f5 Fix lookbehind with zero-length branch in DFA matching. Fixes oss-fuzz 1959. 2017-05-27 15:49:29 +00:00
ph10
d1b8b13374 Implement PCRE2_NEWLINE_NUL. 2017-05-26 17:14:36 +00:00
ph10
ec16f83e0a Add endanchored tests for DFA matching. 2017-04-05 15:32:07 +00:00
ph10
ed59b71dee Make \=find_limits apply to DFA matching, to find the minimum depth limit. 2017-03-24 18:20:34 +00:00
ph10
f2103f5514 Fix misbehaving DFA match for possessively repeated character class (Bugzilla
2086).
2017-03-22 15:12:06 +00:00
ph10
b46cf4e403 Change "limit recursion" to "limit depth" in code and build systems because the
old name, which is retained as a synonym for the moment, is no longer 
appropriate.
2017-03-12 13:47:01 +00:00
ph10
dccb6797cf Reduce stack requirements for test 6. 2017-01-02 16:15:11 +00:00
ph10
5a970cda12 Make the recursion limit apply to DFA matching. 2016-12-23 11:04:51 +00:00
ph10
33f4845d6c Major refactoring of pcre2_compile.c; see ChangeLog and HACKING. 2016-10-02 16:01:01 +00:00
ph10
67342de8a9 Ignore "allcaptures" after DFA matching. 2016-07-06 15:02:24 +00:00
ph10
74a085802c Two pcre2test extensions: quoted literal substrings in hex patterns and
detection of unsupported binary zeros in file input.
2016-01-29 18:16:59 +00:00
ph10
57a8611a13 Implement --never-backslash-C 2015-10-17 13:50:56 +00:00
ph10
94c27404fa Add null_context to pcre2test for testing NULL contexts. 2015-09-23 11:49:03 +00:00
ph10
389a476cb0 Implement PCRE2_USE_OFFSET_LIMIT and pcre2_set_offset_limit(). No documentation
yet.
2015-09-22 11:24:28 +00:00
ph10
cdb20c3526 Tidied up a lot of comments in the test files. 2015-09-16 16:49:48 +00:00
ph10
60dd91d2eb Implement #newline_default and adjust testdata and scripts to use it. 2015-09-08 17:01:17 +00:00
ph10
e0e6be1f66 Implement PCRE2_ALT_CIRCUMFLEX. 2015-04-22 17:39:25 +00:00
ph10
f63b12103c Fix bugs when (?!) is used as a condition. 2015-03-24 10:21:34 +00:00
ph10
42227e4aa1 Test binary zero in callout strings; change offset to PCRE2_SIZE; some
documentation tidies.
2015-03-16 15:38:26 +00:00
ph10
4f8d902e79 Fix crash in pcre2test for some callouts with string arguments. 2015-03-14 10:47:43 +00:00
ph10
adc92df2b1 Support manual callout with string argument at start of condition. 2015-03-12 17:00:18 +00:00
ph10
ace9862cdb Code for callouts with string arguments. Documentation not yet updated. 2015-03-11 17:44:16 +00:00
ph10
27a97f9768 Improvements for substring handling with partial matches. 2014-12-22 17:33:10 +00:00
ph10
dc005bc72d Update and improve substring handling and its documentation. 2014-12-14 17:17:06 +00:00
ph10
a6673eed86 Remove the ability to change newlines and \R at match time. 2014-10-01 17:02:33 +00:00
ph10
3cf2d76de6 Make PCRE2_NO_START_OPTIMIZE a compile-only option. 2014-10-01 16:16:27 +00:00
ph10
a67ef3cade Implement (*NOTEMPTY) and (?(VERSION= features. 2014-08-26 11:46:21 +00:00
ph10
b2039649e4 Implement the "rightchar" feature of match data. 2014-08-19 17:07:22 +00:00
ph10
6d0e162711 Changes to pcre2test single-letter modifiers. 2014-08-03 18:15:32 +00:00
ph10
17a8e5a0f3 Add more tests. 2014-08-03 17:50:08 +00:00