[all-commits] [llvm/llvm-project] 1616bd: [pseudo] Add fuzzer for the pseudoparser.

Sam McCall via All-commits all-commits at lists.llvm.org
Fri May 6 00:22:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1616bd9ef4eb46a340a8765eab440f99e9008003
      https://github.com/llvm/llvm-project/commit/1616bd9ef4eb46a340a8765eab440f99e9008003
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-05-06 (Fri, 06 May 2022)

  Changed paths:
    M clang-tools-extra/pseudo/CMakeLists.txt
    A clang-tools-extra/pseudo/fuzzer/CMakeLists.txt
    A clang-tools-extra/pseudo/fuzzer/Fuzzer.cpp
    A clang-tools-extra/pseudo/fuzzer/Main.cpp
    M clang-tools-extra/pseudo/test/CMakeLists.txt
    A clang-tools-extra/pseudo/test/fuzzer.cpp

  Log Message:
  -----------
  [pseudo] Add fuzzer for the pseudoparser.

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

Differential Revision: https://reviews.llvm.org/D125037




More information about the All-commits mailing list