Skip to content

Merge cpython3 and python3-libraries fuzzers? #26

@StanFromIreland

Description

@StanFromIreland

Our fuzzers are currently split between Modules/_xxtestfuzz/ and this repository. I think we should merge them into one cpython project,

  • There is the idea of cpython3 fuzzing the core interpreter, and python3-libraries fuzzing the stdlib, but that isn't the case. In fact, more than half of cpython3s fuzzers are for stdlib modules. Even worse so, we have overlap, for example, both projects fuzz csv.reader().

  • I'm writing this issue because after opening Test building in CI #25, I considered doing the same in CPython for _xxtestfuzz, but that would just duplicate infrastructure. We would have two almost identical workflows in two very different places. This split/duplication also increases our maintenance burden, we have to maintain quite similar (even more so with Refactor OSS-Fuzz integration #23) scripts for two projects in google/oss-fuzz.

  • We actually already share resources between the fuzzers by using the py_compile.dict from cpython3 for python3-libraries's fuzzer-ast, but this is quite hacky and easy to forget about, as such I worry it may break some day.

CC @python/fuzzers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions