[all-commits] [llvm/llvm-project] 4fdda4: [lldb][fuzz] Allow expression fuzzer to be passed ...

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Tue Sep 13 15:39:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fdda4f82d787c988d5bbdf365df95fd0c8ca14b
      https://github.com/llvm/llvm-project/commit/4fdda4f82d787c988d5bbdf365df95fd0c8ca14b
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M lldb/tools/lldb-fuzzer/lldb-expression-fuzzer/lldb-expression-fuzzer.cpp

  Log Message:
  -----------
  [lldb][fuzz] Allow expression fuzzer to be passed as a flag.

The expression fuzzer checks an environment variable, `LLDB_FUZZER_TARGET`, to get the fuzzer target binary. This is fine, but internally our tooling for running fuzz tests only has proper handling for flag values. It's surprisingly complicated to add support for that, and allowing it to be passed via flag seems reasonable anyway.

Reviewed By: cassanova

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




More information about the All-commits mailing list