DerekSelander / LLDB

A collection of LLDB aliases/regexes and Python scripts to aid in your debugging sessions
GNU General Public License v2.0
1.77k stars 198 forks source link

Any way to implement mshookfunction use lldb python api or dynamic load a dylib? #17

Closed CodeLife2012 closed 4 years ago

CodeLife2012 commented 5 years ago

This project implement many awesome commands to inspect the process, I just curious how to alter the program execution. Breakpoint with expression seems can do this, but seems not a effective way, do you have any suggestions?

DerekSelander commented 4 years ago

I wouldn't recommend LLDB to be the primary tool to interpose code.

LLDB has simple program control over program execution. See help thread. I'd recommend using other tools to interpose code and possibly use LLDB to load it.