I have been trying for some days to resolve a symbol of address using lldb python api but I haven’t found how to do that.
So I think that I need to attach to the PID using python but it’s not working, I tried:
target = lldb.debugger.FindTargetWithProcessID(71321)
process = target.LaunchSimple(None, None, os.getcwd())
process.GetState() → Returns 0 … Why?
So I could use the ResolveSymbolAddress function because if I attach it outside of scripting then I do not own the self – debugger object.
I appreciate your help.