arandomdev / DyldExtractor

Extract Binaries from Apple's Dyld Shared Cache
MIT License
404 stars 40 forks source link

Invalid address in CameraUI framework of iOS 14.6 #21

Closed PoomSmart closed 3 years ago

PoomSmart commented 3 years ago

Describe the bug

Inside method -[CAMStillImageCaptureCommand executeWithContext:] of CameraUI private framework, there is an invalid address referenced at 1A8AAF004 and 1A8AAF010. You should be able to reproduce this on every iOS 14.6 dyld shared cache.

image

To Reproduce

  1. iOS 14.6
  2. iPhone X

Additional context Add any other context about the problem here.

arandomdev commented 3 years ago

I’ll look at it but please provide both the image you’re trying to extract, and the exact version of the cache you’re using by ipsw.me

PoomSmart commented 3 years ago

@arandomdev Try https://ipsw.me/download/iPhone10,6/18F72 OP updated, it's CameraUI.framework.

arandomdev commented 3 years ago

Okay, I think I fixed it in 39d6d91, you can install it with pip install git+https://github.com/arandomdev/DyldExtractor.git. Let me know if it works and if there are any regressions.

PoomSmart commented 3 years ago

@arandomdev It doesn't seem to be fixed. Note that this is IDA Pro 7.6 SP1 image

arandomdev commented 3 years ago

Maybe try uninstalling and reinstalling with the command above?

PoomSmart commented 3 years ago

@arandomdev That fixes it. Great job. 👍🏻

image

arandomdev commented 3 years ago

The fix was rolled back with 15553dc34c51ef55099fbeb4bcd085bdf622ec14

arandomdev commented 3 years ago

okay, I think I finally fixed it with ac28f8db4414e772559b388c4c896077605276d9