Skip to content

Minimal example of using the LLDB SB API from a C++ application.

Notifications You must be signed in to change notification settings

Teemperor/lldb-cpp-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLDB C++ example

example workflow

The code in this repo demonstrates how to use LLDB's SB API from C++. Note that you probably want to use the Python version of the SB API instead.

How to build

cmake path/to/src
cmake --build .
ctest . --output-on-failure # To run the example

Note that you might have to set your lldb-server path to the path of where the lldb-server binary is located on your system. You can do this via the LLDB_DEBUGSERVER_PATH environment variable (example: LLDB_DEBUGSERVER_PATH=/usr/lib/llvm-14/bin/lldb-server).

About

Minimal example of using the LLDB SB API from a C++ application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published