diff options
author | Chelsea Cassanova <chelsea@cassanova.me> | 2022-07-11 17:24:50 -0400 |
---|---|---|
committer | Chelsea Cassanova <chelsea@cassanova.me> | 2022-07-22 17:32:00 -0400 |
commit | b797834748f1954950880bf50fb78abedd4494e6 (patch) | |
tree | 0c839753dbd57fe9be1224c18117083e7f5dac45 /llvm/lib/CodeGen/BasicBlockSections.cpp | |
parent | 475e526d85003404ba521e15f8acef1b439fb910 (diff) | |
download | llvm-b797834748f1954950880bf50fb78abedd4494e6.zip llvm-b797834748f1954950880bf50fb78abedd4494e6.tar.gz llvm-b797834748f1954950880bf50fb78abedd4494e6.tar.bz2 |
[lldb/Fuzzer] Add fuzzer for expression evaluator
This commit adds a fuzzer for LLDB's expression evaluator.
The fuzzer takes a different approach than the current fuzzers
present, and uses an approach that is currently being used for
clang fuzzers.
Instead of fuzzing the evaluator with randomly mutated
characters, protobufs are used to generate a subset of C++. This
is then converted to valid C++ code and sent to the expression
evaluator. In addition, libprotobuf_mutator is used to mutate
the fuzzer's inputs from valid C++ code to valid C++ code, rather
than mutating from valid code to total nonsense.
Differential revision: https://reviews.llvm.org/D129377
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions