-
Notifications
You must be signed in to change notification settings - Fork 198
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
sbt command not working #5
Comments
Hey @wimbledon , I am aware of that shortcoming on the sbt command. How it works is I grab all the start addresses of all ObjC functions and cross reference them with the starting address for all known functions from LLDB. The thing is in ARM (unlike x86), LLDB doesn't know where the starting address is for a stripped out executable. I think I can get around this shortcoming, but it isn't high on my TODO list at the moment. |
Thanks @DerekSelander. I am using ARMv7. Do you mean LLDB does not know the ASLR shift? Is there another way/command I can use instead? Can I manually add function addresses to LLDB? Also, I get following message on the lldb console
Sorry, I'm new to this kind of debugging... |
@DerekSelander , could you please provide any workaround of the issue? |
I think it is because sometimes method_getImplementation return the address of a thunk. __text:000000010017DA28 ; =============== S U B R O U T I N E =======================================
__text:000000010017DA28
__text:000000010017DA28 ; Attributes: thunk
__text:000000010017DA28
__text:000000010017DA28 ; void __cdecl -[AppDelegate setupAnalytics](_TtC3Hub11AppDelegate *self, SEL)
__text:000000010017DA28 ___TtC3Hub11AppDelegate_setupAnalytics_
__text:000000010017DA28 ; DATA XREF: __objc_methlist:00000001007C8B14↓o
__text:000000010017DA28 23 10 00 14 B ___TtC3Hub11AppDelegate_setupAnalytics__0 ; -[AppDelegate setupAnalytics]_0
__text:000000010017DA28
__text:000000010017DA28 ; End of function -[AppDelegate setupAnalytics]
__text:000000010017DA28
__text:000000010017DA2C
__text:000000010017DA2C ; =============== S U B R O U T I N E ======================================= |
Thank you for providing wondering python scripts. However, I cannot get
sbt
command to work!I followed the installation instruction to the tee, but I get following error:
___lldb_unnamed_symbol33766$$... unresolved womp womp
Please help!
The text was updated successfully, but these errors were encountered: