Questions tagged [lldb]

LLDB is the debugger of the LLVM compiler infrastructure project.

10 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
341 views

When I start up a remote thread in an application, why does it always crash when it tries to access data in the thread structure?

I'm on OS X 10.10 64 bit (x86_64) and created a chunk of memory called code with vm_allocate. I allocate a chunk of memory for a stack. I load a library to memory and determine an entry point to ...
2
votes
0answers
180 views

(iOS lldb) Unable to debug past a splash/loading screen

I'm trying to lldb debug this certain iOS application. Its behavior is that when I click the application, the splash/loading screen comes up, then the main activity. However, whenever I try to debug ...
2
votes
0answers
397 views

IDA Pro macOS kernel debugging and lldb support

I'm trying to revers some kexts on macOS and I can't find a way to achieve the same level of debugging you can do on Windows kernel with IDA and WinDBG. Is there a way to add support for lldb? Or can ...
1
vote
0answers
157 views

How to dump PHP backtrace on live running script in lldb?

I'm trying to print PHP backtrace of the live running script using the following 2 simple steps: Run PHP script as: php -r "sleep(1000);" On another console, I've called directly ...
1
vote
0answers
528 views

Why darwin kernel crashes on function call via lldb while debugging the process?

I wanted to debug the hanging ruby process, but instead my kernel crashes each time when I'm doing the following steps: I'm re-running my ruby script (vagrant) which hangs: $ vagrant destroy -f &...
0
votes
1answer
38 views

Use dtrace, lldb or gdb to find which file or line of code was responsible for a line of output in stdout or stderr?

I see a string being output to my Terminal, when I ran an executable. I have the source code (in C) of the executable, but it was not written by me. I compiled it with -g flag. Is there any way to ...
0
votes
0answers
12 views

reaching unexpected breakpoint (defined by file/line) when debugging objc code with lldb

'm using lldb to debug objc based service. several breakpoints (which is set have been placed in the code, and I see that one of them is reached unexpectedly according to the stack trace. The method ...
0
votes
0answers
25 views

How can I lookup the current address of a location by file address in lldb?

Going back and forth with a debugger, I can very easily determine the file address of a memory location by doing (lldb) image lookup -a 0x102802574 Address: Program[0x0000000000002574] (Program....
0
votes
0answers
46 views

lldb errors when attaching to iOS processes

While doing some analysis on a jailbroken iPhone (iOS 12.2), I wanted to put a breakpoint on a function inside the DVIA-v2 (Swift) application but I will see these errors b ...
0
votes
0answers
130 views

Learning Certificate Pinning Bypass iOS

I want to understand how to do a Cert pinning bypass. So this is what I've attempted: Attempt 1 Use frida-trace -U THEAPPNAME -i "*NSURL*" The problem with this approach is that is not matching ...