[PATCH] D125037: [pseudo] Add fuzzer for the pseudoparser.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 5 13:00:17 PDT 2022
sammccall created this revision.
sammccall added a reviewer: hokein.
Herald added a subscriber: mgorny.
Herald added a project: All.
sammccall requested review of this revision.
Herald added subscribers: cfe-commits, alextsao1999.
Herald added a project: clang-tools-extra.
As confirmation, running this locally found 2 crashes:
- trivial: crashes on file with no tokens
- lexer: hits an assertion failure on bytes: 0x5c,0xa,0x5c,0x1,0x65,0x5c,0xa
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D125037
Files:
clang-tools-extra/pseudo/CMakeLists.txt
clang-tools-extra/pseudo/fuzzer/CMakeLists.txt
clang-tools-extra/pseudo/fuzzer/Fuzzer.cpp
clang-tools-extra/pseudo/fuzzer/Main.cpp
clang-tools-extra/pseudo/test/CMakeLists.txt
clang-tools-extra/pseudo/test/fuzzer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125037.427421.patch
Type: text/x-patch
Size: 6007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220505/f55cc7c7/attachment.bin>
More information about the cfe-commits
mailing list