This revision was automatically updated to reflect the committed changes.
JDevlieghere marked an inline comment as done.
Closed by commit rG61efe14e21b2: [lldb] Add a fuzzer for target creation
(authored by JDevlieghere).
Herald added projects: LLDB, LLVM.
Herald added a subscriber: llvm-commits.
JDevlieghere marked an inline comment as done.
JDevlieghere added inline comments.
Comment at: lldb/tools/lldb-fuzzer/lldb-fuzzer-target.cpp:24
+extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
+ auto file = TempFile::Create(data, size);
+ if (!file)
labath added subscribers: cmtice, labath.
labath accepted this revision.
labath added a comment.
This revision is now accepted and ready to land.
I like this.
Comment at: lldb/tools/lldb-fuzzer/lldb-fuzzer-target.cpp:24
+extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size
JDevlieghere updated this revision to Diff 418133.
JDevlieghere added a comment.
Fix ASCII art
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122461/new/
https://reviews.llvm.org/D122461
Files:
lldb/tools/CMakeLists.txt
lldb/tools/lldb-fuzzer/CMakeLists.txt
lldb/tools/lldb-fuzzer/
JDevlieghere created this revision.
JDevlieghere added a reviewer: LLDB.
Herald added a subscriber: mgorny.
Herald added a project: All.
JDevlieghere requested review of this revision.
This patch adds a fuzzer that interprets inputs as object files and makes lldb
create targets from them. It is v