[lldb-dev] LLDB Scripting

egon at ragequ.it egon at ragequ.it
Wed Aug 31 21:04:48 PDT 2011


Hi,

I want to implement some additional interfaces on top of LLDB using python and I was hoping someone might be able to tell me how feasible it would be to do just using LLDB's embedded python interpreter.

I would like to run a regular LLDB session in one terminal and display register contents, disassembly and stack contents in other windows to somewhat mimic the displays of debuggers like Immunity or OllyDbg on Windows. I'd prefer to not have to implement a full new front end for LLDB as this is just intended to be complementary to the standard console interface to LLDB. I think I would need to be able to register handlers to be called on breakpoints (this looks quite easy from the documentation), but also handlers to be called after stepping over an instruction (to update the selected line in the disassembly, update register contents display, etc).

Does this sound like something that could be easily implemented using the embedded python scripting? I have had a look at the documentation but I can't see anything that help with this. I'm open to other suggestions :)

Thanks



More information about the lldb-dev mailing list