InspectiveC
InspectiveC copied to clipboard
Example project crashed when use the libinspectivec.dylib made by myself
I'm using the latest theos and building with make package FINALPACKAGE=1. iPhone 5c, iOS 9.0.1, iOS 9.0 SDK
I got some logs : Feb 15 13:57:33 iPhone SpringBoard[1995] <Notice>: MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Example.dylib Feb 15 13:57:33 iPhone SpringBoard[1995] <Warning>: [InspectiveC] Loading - Directory is "/var/mobile/Documents" Feb 15 13:57:33 iPhone SpringBoard[1995] <Error>: MS:Error: unable to open() binary file Feb 15 13:57:33 iPhone SpringBoard[1995] <Error>: MS:Error: failure to check FridaLoader.dylib Feb 15 13:57:33 iPhone SpringBoard[1995] <Notice>: MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/introspy.dylib Feb 15 13:57:33 iPhone diagnosticd[181] <Error>: error evaluating process info - pid: 1995, puniqueid: 1995 Feb 15 13:57:33 iPhone com.apple.xpc.launchd[1] (com.apple.SpringBoard[1995]) <Notice>: Service exited due to signal: Bus error: 10 Feb 15 13:57:33 iPhone com.apple.xpc.launchd[1] (com.apple.SpringBoard) <Notice>: Service only ran for 0 seconds. Pushing respawn out by 5 seconds. Feb 15 13:57:33 iPhone ReportCrash[1998] <Notice>: MS:Notice: Injecting: (null) [ReportCrash] (1240.10)
Do you have a stack trace? Do the other versions work?
I got a stack trace from Xcode. stack.txt But I don't know how to resolve it. What other versions mean?
Hmm, that's hard to read because it's not symbolicated. Kinda looks like infinite recursion, but it's hard to tell what's causing it. Can you try installing the debs found in this repo?
The debs in stable_debs works well.But I want to add something to this project,so I'm trying to compile it by myself.I tried using lldb to debug it and found that the crash occurred during the loading dylib phase.
Does it work if you use a different SDK version? Maybe try using the old Theos? Maybe also try adding libinspectivec_LDFLAGS += -Wl,-segalign,4000
to the Makefile?