]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-29505: Add fuzzer for ast.literal_eval (GH-28777)
authorAmmar Askar <ammar@ammaraskar.com>
Wed, 6 Oct 2021 23:22:09 +0000 (19:22 -0400)
committerGitHub <noreply@github.com>
Wed, 6 Oct 2021 23:22:09 +0000 (16:22 -0700)
commitdb72e58ea5940c3942ede9f70cb897510b52fc36
tree7cdfe94bd1e15a216d23c6c03522f8c3a341664b
parent745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be
bpo-29505: Add fuzzer for ast.literal_eval (GH-28777)

This supercedes https://github.com/python/cpython/pull/3437 and fuzzes the method we recommend for unsafe inputs, `ast.literal_eval`. This should exercise the tokenizer and parser.
Modules/_xxtestfuzz/fuzz_tests.txt
Modules/_xxtestfuzz/fuzzer.c