Skip to content

yuhaijun999/lldbscripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

lldbscripts

This repository contains helper scripts for lldb debugging.

ignore_signals.py

Automatically configure processes to not stop on SIGSEGV. Similar to the gdb command handle SIGSEGV noprint, but the lldb equivalent process handle --stop false SIGSEGV cannot be executed until a process has been loaded. Hence the need for a helper script.

Usage

Add a line similar to this to your ~/.lldbinit file:

command script import ~/git/lldbscripts/ignore_signals.py

Customization

To add other signals to the list, add a line similar to this one in ignore_signals.py:

signals.SetShouldStop(11, False)

The number to use can be found for example in signal.h.

About

Scripts for lldb debugging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%