Skip to content

gcamerli/lldb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLDB

42 (Paris)

Description

LLDB is a next generation, high-performance debugger. It is built as a set of reusable components which highly leverage existing libraries in the larger LLVM Project, such as the Clang expression parser and LLVM disassembler.

The purpose of this project is to discover some debugging techniques with LLDB.

Requirements

  • lldb

Config

To customize your lldb prompt, place the .lldbinit file in the $HOME dir:

$ cp 00-init/.lldbinit $HOME

Usage

Execute the run.sh script and from the lldb prompt run:

(lldb) command script import 01-usage/init.py

This action will bind the test/source.cpp file to the lldb debugger.

Script

To load more scripts inside the lldb prompt, re-execute for each file:

(lldb) command script import [path/file.py]

Happy hacking!

Doc

For more info, check the official doc.

License

This work is published under the terms of 42 Unlicense.