Added more instrumentation + caught one more exception

pull/584/head
bcapuano 2023-11-11 11:21:00 -05:00
rodzic 64d9f03017
commit d5f0016b07
2 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -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:
- ...

Wyświetl plik

@ -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'
]