diff --git a/CHANGES.rst b/CHANGES.rst index 0d2c3ad..3fce263 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,6 +10,7 @@ Minor changes: - Added exclusion of fuzzing corpus in MANIFEST.in - Augmented fuzzer to optionally convert multiple calendars from a source string - Added additional exception handling of defined errors to fuzzer, to allow fuzzer to explore deeper +- Added more instrumentation to fuzz-harness Breaking changes: - ... diff --git a/src/icalendar/fuzzing/ical_fuzzer.py b/src/icalendar/fuzzing/ical_fuzzer.py index 5079328..8c73ddb 100644 --- a/src/icalendar/fuzzing/ical_fuzzer.py +++ b/src/icalendar/fuzzing/ical_fuzzer.py @@ -17,9 +17,7 @@ import atheris import sys -with atheris.instrument_imports( - include=['icalendar'], - exclude=['pytz', 'six', 'site_packages', 'pkg_resources', 'dateutil']): +with atheris.instrument_imports(): import icalendar _value_error_matches = [ @@ -28,7 +26,7 @@ _value_error_matches = [ 'alue MUST', 'Key name', 'Invalid content line', 'does not exist', 'base 64', 'must use datetime', 'Unknown date type', 'Wrong', 'Start time', 'iCalendar', 'recurrence', 'float, float', 'utc offset', - 'parent' + 'parent', 'MUST be a datetime' ]