[Lldb-commits] [PATCH] D122461: [lldb] Add a fuzzer for target create

2022-03-28 Thread Jonas Devlieghere via Phabricator via lldb-commits
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.

[Lldb-commits] [PATCH] D122461: [lldb] Add a fuzzer for target create

2022-03-25 Thread Jonas Devlieghere via Phabricator via lldb-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)

[Lldb-commits] [PATCH] D122461: [lldb] Add a fuzzer for target create

2022-03-25 Thread Pavel Labath via Phabricator via lldb-commits
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

[Lldb-commits] [PATCH] D122461: [lldb] Add a fuzzer for target create

2022-03-24 Thread Jonas Devlieghere via Phabricator via lldb-commits
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/

[Lldb-commits] [PATCH] D122461: [lldb] Add a fuzzer for target create

2022-03-24 Thread Jonas Devlieghere via Phabricator via lldb-commits
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