Commit Graph

18 Commits

Author SHA1 Message Date
Julien Voisin 0ff05419be
Fix Pygment's corpus paths (#10134) 2023-04-20 12:10:02 -04:00
Julien Voisin 05338d3e0d
Fuzz filters as well in Pygments (#10071) 2023-04-12 19:54:36 +01:00
Julien Voisin b82e1a2fa4
Fix pygment's corpus creation (#10070)
Example files are now in folders
2023-04-12 19:54:09 +01:00
Julien Voisin 3264034794
Limit the input size of pygments fuzzers (#10013) 2023-04-11 12:25:09 -04:00
Julien Voisin 07fb300444
Fuzz formatters as well in pygments (#9890)
Co-authored-by: Julien Voisin <jvoisin@google.com>
2023-03-09 03:59:53 -08:00
DavidKorczynski 0cb820e5af
infra: add Python coverage support (#7298)
* infra: add Python coverage support

* update python coverage helper script

* nits

* switch from commands to python

* pin coverage package

* switch to single quote strings throughout

* nit

* fix style

* fix style

* fix ci

* fix ci
2022-04-06 10:31:34 -04:00
Julien Voisin 4e962ea940
Modernize a bit the pygments fuzzer (#7382)
- Use atheris.instrument_all(), since pygments uses a custom importer
- Get rid of the useless main(), to make the two fuzzers similar
- Narrow an expected exception type

Co-authored-by: Julien Voisin <jvoisin@google.com>
2022-03-14 13:41:42 -04:00
jonathanmetzman 50f2fde161
[infra][python] Split out python projects to their own builder. (#6341) 2021-08-30 07:00:26 -07:00
Google AutoFuzz Team 4387306911
Improve pygment's fuzzer (#6212) 2021-08-19 21:53:59 +01:00
Bitshift 55a5812e8c
Update fuzzers to new Atheris version (#6060)
* Update fuzzers to new Atheris version

* Pin new atheris version

* Change = to ==

* Change path where Atheris fuzzers ld_preload from

* Update hypothesis fuzzer to work with new atheris

* Set version to 2.0.1

* Switch to Atheris 2.0.4

* Correct spelling of pygments_fuzzer decorator

* instrument yaml_reader

* Change to latest Atheris

* Set atheris version to 2.0.6
2021-08-16 08:56:54 -07:00
Fabian Meumertzheim 10e888b561
[all] Make fuzz targets world executable (#5751)
Making fuzz targets only user executable as the root user makes them
non-executable outside the container, e.g. in the oss-fuzz/build/ dir.
2021-05-12 07:03:21 -07:00
Google AutoFuzz Team e3806aada0
Use the new wrapper for pygments (#4898) 2020-12-30 10:07:43 -08:00
Google AutoFuzz Team 6a646ea993
Add some dictionaries to pygments' fuzzer (#4876) 2020-12-21 06:30:24 -08:00
Google AutoFuzz Team 86002c1f47
Use only utf-8 for Pygments (#4859)
See https://github.com/pygments/pygments/issues/1628#issuecomment-747259224
2020-12-17 08:28:47 -08:00
Georg Brandl 6ba895ed28
pygments: use my gmail account for reports (#4856) 2020-12-16 08:50:20 -08:00
Google AutoFuzz Team 625e3a190b
Add a proper contact for pygments' fuzzer (#4838)
See https://github.com/pygments/pygments/issues/1628#issuecomment-743346621
2020-12-14 07:44:49 -08:00
Google AutoFuzz Team 32dec5ae28
Add a corpus for pygments (#4840) 2020-12-14 07:05:37 -08:00
Google AutoFuzz Team 25988ca5f1
Add a fuzzer for Pygments (#4794)
* Add a fuzzer for Pygments

While pygments doesn't use native code for fuzzing,
it's the defacto solution to highlight (untrusted) code,
so unexpected exceptions and timeouts are important.

* Make the fuzzer work

* Remove a useless LD_PRELOAD

* Add a missing "main_repo" field
2020-12-11 07:30:23 -08:00