<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/139393>139393</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Create an lldb-dap fuzzer
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            lldb-dap
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          JDevlieghere
      </td>
    </tr>
</table>

<pre>
    Create a fuzzer for lldb-dap, similar to [clangd-fuzzer](https://github.com/llvm/llvm-project/tree/main/clang-tools-extra/clangd/fuzzer). We already have [various fuzzers](https://github.com/llvm/llvm-project/tree/main/lldb/tools/lldb-fuzzer) in LLDB. 

A few observations after briefly looking into this:

- We'll need to turn most of LLDB DAP into a library, which means moving all but the driver  code out of `lldb-dap.cpp` and having the latter link that library. 
- We should add the fuzzer as a subdirectory in `lldb-dap` rather than `lldb-fuzzer` so it can access the new DAP library. 
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyskz-PnDAQxT-NaUYgMP-WgmLvVhTRFemuHvAAzhl7ZRsue58-Msfupo2UCmGYN78Zv4fOyUkTtax8YeUlwtXPxrY_LrQpSdNMlqLeiFv7agk9AcK4fn2RhdFYUEr0scAr46_g5CIVWvAGWPkyKNSTiL__ZeWF8dPs_dWx_Mx4x3g3ST-vfTKYhfFOqe3-iK_W_KLBM955S8R4t6DUjHe7YuyNUS6m397i_Uww3h19eJPAOwEqSyhuMONGAWZDK83qDnL3X3DC6OEw8Byv8YMCpIa3t8tLAiw9s_R8hpE-wfSO7IZeGu0AR08WeitpVDdQxnxIPYHU3oCf5Q62l8bwTozXSoEmEmG7frUaFuM8mHHvApfzz-9KBCV7i_YWLuRzlsMMC6F2sJgtyKNS0K8e_EwgrNzIAgxGEJh1V2NVer_SZLheWZUCahH2GKpDlUIfuJXUH-Bn9PeG-6SBFdxsViUAhdgLDregAwS39kJaGryxt7Civ9qFVhb9TDbIPj8dK61ScAakhwE14DCQc7u6ps99-gdFJNpcNHmDEbVZXVSnps6KPJrboqxFfeKiyquM981wGjI-5nle1lVDhE0kW57yMi2zNKszzvOERN83RTGOmFaIWLIipQWlSoIvEmOnSDq3UpvlTd7kkcKelNtjxPkzGDyEyra7l_p1cqxIlXTePVW89Ioe8dKPUB2ri1ar2n82644WjHnQbS3_EwAA__904Ew7">