mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-25 21:11:25 +00:00

This patch adds a generic fuzzer that interprets inputs as object files and uses them to create a target in lldb. It is very similar to the llvm-dwarfdump fuzzer which found a bunch of issues in libObject. Differential revision: https://reviews.llvm.org/D122461
24 lines
699 B
CMake
24 lines
699 B
CMake
add_subdirectory(argdumper)
|
|
add_subdirectory(driver)
|
|
add_subdirectory(intel-features)
|
|
|
|
# We want lldb-test to be built only when it's needed,
|
|
# i.e. if a target requires it as dependency. The typical
|
|
# example is `check-lldb`. So, we pass EXCLUDE_FROM_ALL here.
|
|
add_subdirectory(lldb-test EXCLUDE_FROM_ALL)
|
|
add_subdirectory(lldb-fuzzer EXCLUDE_FROM_ALL)
|
|
|
|
add_lldb_tool_subdirectory(lldb-instr)
|
|
add_lldb_tool_subdirectory(lldb-vscode)
|
|
|
|
if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
|
add_lldb_tool_subdirectory(darwin-debug)
|
|
if(NOT LLDB_USE_SYSTEM_DEBUGSERVER)
|
|
add_lldb_tool_subdirectory(debugserver)
|
|
endif()
|
|
endif()
|
|
|
|
if (LLDB_CAN_USE_LLDB_SERVER)
|
|
add_lldb_tool_subdirectory(lldb-server)
|
|
endif()
|