-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldn't load top-level module Foundation #16
Comments
LLDB is complaining about not knowing about the Foundation framework's headers. You are either: too early in the process for Foundation is loaded, Foundation is not loaded in the process you are inspecting or LLDB couldn't import the header. If it's the last one, I'd try a If that doesn't fix that, I'll need more details |
From my understanding it seems like it already loaded? But still no luck. What kind of details would help? |
Are you debugging via the simulator or on a jb device? If jb was jb are you using and what's your iOS version? If it's a jb, try setting breakpoint at a spot you know you'll hit and see what happens, if that's an error, that's a certain problem (see http://newosxbook.com/articles/MDGA.html) If you are debugging the SB on the Simulator, how early in to the process are you? If you are too early, then try continuing to a later part in the process to see if it's fixed. |
Currently I'm debugging on a simulator (iPhone XS, 12.1). I've tried it on other versions and simulators and get similar errors. How would I continue in a later part? Like this?
|
Unfortunately, I don't have a 12 jb device. I'll do some digging over this week to see if there's a testable solution for this. |
Ok thanks! |
I have the exact same behaviour as @menushka, working at a simulator, attaching to Springboard:
It only breaks through standalone lldb; In Xcode-lldb, the command works as intended. |
I'm having the same issue, but while debugging a normal osx binary. |
I found myself having the same problem, but strangely updating the OSX version to the latest fixed that. |
A lot of the methods in the plugin don't seem to be working for me. They all seem to revolve around giving me this "Couldn't load top-level module Foundation". Sorry if this is a dumb question, I'm very new to reverse engineering binaries.
I tried following along with your "Reverse Engineering the iOS Simulator’s SpringBoard" but dumping the SpringBoard classes returned zero results. Any ideas what could be wrong?
The text was updated successfully, but these errors were encountered: