summaryrefslogtreecommitdiff
path: root/src/pcre2_fuzzsupport.c
Commit message (Collapse)AuthorAgeFilesLines
* Make pcre2_dfa_match() take notice of the match limit, to catch patterns that ph102017-05-301-6/+5
| | | | | | | use too much resource. This should fix oss-fuzz 1761. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@815 6239d852-aaf2-0410-a92c-79f79f948069
* Discard partial match when endanchored is set in the fuzzer, as it just gives ph102017-05-271-2/+8
| | | | | | | an immediate bad options return. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@808 6239d852-aaf2-0410-a92c-79f79f948069
* Screw down the depth limit for DFA matching in the fuzzer function. Fixes ph102017-05-221-4/+7
| | | | | | | OSS-fuzz 1761 (I hope). git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@797 6239d852-aaf2-0410-a92c-79f79f948069
* Add a call to pcre2_dfa_match() to the fuzzer driver.ph102017-05-201-23/+62
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@793 6239d852-aaf2-0410-a92c-79f79f948069
* Implement PCRE2_ENDANCHORED.ph102017-04-041-4/+6
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@731 6239d852-aaf2-0410-a92c-79f79f948069
* Change "limit recursion" to "limit depth" in code and build systems because the ph102017-03-121-3/+3
| | | | | | | | old name, which is retained as a synonym for the moment, is no longer appropriate. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@678 6239d852-aaf2-0410-a92c-79f79f948069
* Limit the subject length in the fuzzer support function, to avoid wasting time ph102016-12-311-1/+9
| | | | | | | searching large trees. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@636 6239d852-aaf2-0410-a92c-79f79f948069
* Add callout_error to pcre2test and stop the fuzzer after 100 callouts.ph102016-12-281-2/+16
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@631 6239d852-aaf2-0410-a92c-79f79f948069
* Limit the fuzzing function with match limit = recursion limit = 100.ph102016-12-201-2/+21
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@621 6239d852-aaf2-0410-a92c-79f79f948069
* Minor wording tweak.ph102016-11-251-1/+1
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@609 6239d852-aaf2-0410-a92c-79f79f948069
* Make fuzz support abort on internal errors.ph102016-11-241-7/+11
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@607 6239d852-aaf2-0410-a92c-79f79f948069
* Fix bad working space size calculation when PCRE2_AUTO_CALLOUT is set.ph102016-11-041-2/+2
| | | | git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@596 6239d852-aaf2-0410-a92c-79f79f948069
* Add fuzzer support features.ph102016-10-311-0/+271
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@582 6239d852-aaf2-0410-a92c-79f79f948069