Comments (10)
Yeah I'd say Go is for pythonistas who want to write C, but don't want to write C 😏
from ipsw.
building a release for the possible fix now
from ipsw.
😩 👍
from ipsw.
I did try going through and reading through and try to understand why this happens ... first time ever reading go language seem like a weird mix of C and python syntax. SOOO major props to you creating a complex program such as this out of it but here's the log basically.
"bootywarrior@Bootys-MacBook-Air ~ % /Users/bootywarrior/Downloads/ipsw_3.1.30_macOS_arm64/ipsw symbolicate /Users/bootywarrior/Desktop/web.ips /Users/bootywarrior/Downloads/dyld_shared_cache_arm64
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x98 pc=0x1037561c0]
goroutine 1 [running]:
github.com/blacktop/ipsw/cmd/ipsw/cmd.glob..func63(0x1042ef1c0, {0x14000253340, 0x2, 0x2})
github.com/blacktop/ipsw/cmd/ipsw/cmd/symbolicate.go:154 +0x620
github.com/spf13/cobra.(*Command).execute(0x1042ef1c0, {0x14000253300, 0x2, 0x2})
github.com/spf13/[email protected]/command.go:856 +0x668
github.com/spf13/cobra.(*Command).ExecuteC(0x1042eea40)
github.com/spf13/[email protected]/command.go:974 +0x410
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/[email protected]/command.go:902
github.com/blacktop/ipsw/cmd/ipsw/cmd.Execute()
github.com/blacktop/ipsw/cmd/ipsw/cmd/root.go:57 +0x30
main.main()
github.com/blacktop/ipsw/cmd/ipsw/main.go:27 +0x20"
from ipsw.
I can't quite recalls if the stack calls grow up and heap grows down ? anyways does this mean the crash occurs in cmd.globbalfunc63?
from ipsw.
I think it is because there was an Image in the backtrace that wasn't also in the dyld_shared_cache
so I did a lookup and then just assumed that what your backtrace has was legit and then used the image
object (which was actually nil
) I need to just re-write that func, because it's bit me before.
I assume that since that is a MUCH older version of iOS that the format is weird or different than I was expecting, so I take JUST the last part of the image (incase your backtrace has a FULL path or something) and then skip if it doesn't exist in the cache.
from ipsw.
I could see it erroring like that if you were running your own app on the device and your app's name showed up in the backtrace as that name wouldn't exist in the cache
from ipsw.
I think it is because there was an Image in the backtrace that wasn't also in the
dyld_shared_cache
so I did a lookup and then just assumed that what your backtrace has was legit and then used theimage
object (which was actuallynil
) I need to just re-write that func, because it's bit me before.I assume that since that is a MUCH older version of iOS that the format is weird or different than I was expecting, so I take JUST the last part of the image (incase your backtrace has a FULL path or something) and then skip if it doesn't exist in the cache.
Correctly and most validly said it's funny that you said that when I was in the process of making a safari jailbreak last before I gave up because my Mac was destroyed. TotallyNotSpyware was for a super older iOS Version but it was the only Safari Jailbreak that had its own dyld_shared_cache parser that pulled the cache raw from memory and got the offsets from the shared cache for the exploit. When it was my time to shine and my promise of a new safari jailbreak it took me 4-5 months to actually learn TNS sharedcacheparser and had to to rewrite in for Javascript very fun indeed but that was for iOS 12.1.4 and the mach-O format and cache formate changed from the age of TNS (iOS 10) to my GitHub safari jailbreak (iOS 12) so nice analysis.
from ipsw.
So the fix worked?
from ipsw.
nope closing issue
from ipsw.
Related Issues (20)
- ipsw dl dev - add more docs about error cases
- class dump objc categories class name missed for NSObject/UIView etc. HOT 14
- `ipsw class-dump` processForwardDeclarations protocol props/methods HOT 1
- `ipsw class-dump` pull structs out into Type.h file HOT 1
- `ipsw class-dump DSC Foundation --headers` not making a file for `_NSAttributedStringFromMarkdownCreator` protocol HOT 4
- why `ipsw` isn't able to locate the symbol for the NSObject class HOT 2
- ipsw can't parse symbol tables for macOS 14.4(.1) DSCs HOT 4
- ipsw swift-dump --arch option HOT 1
- Refresh `--help` output HOT 1
- error when class-dump HOT 12
- ipsw dyld extract --all fails with optimization failure HOT 2
- SIGSEGV when scanning macOS 14.4.1 IPSW HOT 4
- ipsw swift-dump errors on Intel HOT 2
- Fix docs full text search HOT 1
- Resumed downloads freeze when complete
- New `ipsw verify` command? HOT 1
- Trying to `class-dump` UIKitCore results in out of range exception HOT 10
- fail to class dump HOT 5
- class dump all images HOT 1
- Truncating class-dump headers might cause them not to be properly imported in the umbrella.h
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipsw.