Skip to content
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

'ipsw dyld slide' Broken on MacOS 15 Beta Shared Cache #499

Open
2 tasks done
ewalkup opened this issue Jun 27, 2024 · 2 comments
Open
2 tasks done

'ipsw dyld slide' Broken on MacOS 15 Beta Shared Cache #499

ewalkup opened this issue Jun 27, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ewalkup
Copy link

ewalkup commented Jun 27, 2024

What happened?

I expected to get a list of pointers, instead I get a bunch of errors when parsing the "objc info" on the dyld slide from the shared cache of the MacOS 15 beta. I'm not sure if this is the same bug as the class-dump bugs, since it's in a different command...thought I would open an issue to make sure.

This error occurs on a machine running the latest MacOS Sonoma (14.5), with the latest production version of XCode (15.4) and its tools, with the latest version of ipsw as shown later in the issue.

 % ipsw dyld slide --auth dyld_shared_cache_arm64e > dyld_auth_slide
   • parsing public symbols...
   • parsing private symbols...
      • cache does NOT contain local symbols
   • parsing objc info...     
   ⨯ failed to get vmaddr for objc object at -0x7b764c0e: offset 0xffffffff8489b3f2 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764be8: offset 0xffffffff8489b418 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764bb1: offset 0xffffffff8489b44f not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764b7b: offset 0xffffffff8489b485 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764b36: offset 0xffffffff8489b4ca not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764b1c: offset 0xffffffff8489b4e4 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764ae8: offset 0xffffffff8489b518 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764aba: offset 0xffffffff8489b546 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764a88: offset 0xffffffff8489b578 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764a6c: offset 0xffffffff8489b594 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764a42: offset 0xffffffff8489b5be not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764a20: offset 0xffffffff8489b5e0 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764a04: offset 0xffffffff8489b5fc not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b7649e9: offset 0xffffffff8489b617 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b7a7e5c: offset 0xffffffff848581a4 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b7649c9: offset 0xffffffff8489b637 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764991: offset 0xffffffff8489b66f not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764963: offset 0xffffffff8489b69d not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764908: offset 0xffffffff8489b6f8 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764880: offset 0xffffffff8489b780 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764858: offset 0xffffffff8489b7a8 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b76482f: offset 0xffffffff8489b7d1 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764809: offset 0xffffffff8489b7f7 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b7647ad: offset 0xffffffff8489b853 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764764: offset 0xffffffff8489b89c not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764745: offset 0xffffffff8489b8bb not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b764724: offset 0xffffffff8489b8dc not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b7646e9: offset 0xffffffff8489b917 not within any mappings file offset range
   ⨯ failed to get vmaddr for objc object at -0x7b7646be: offset 0xffffffff8489b942 not within any mappings file offset range
   .... this continues on for a very long time

How can we reproduce this?

Command: ipsw dyld slide --auth dyld_shared_cache_arm64e
Shared Cache extracted from: UniversalMac_15.0_24A5264n_Restore.ipsw

ipsw version

% ipsw version
Version: 3.1.507, BuildCommit: 00d1ee8267258da3a666e65883230313030c3edb

Search

  • I did search for other open and closed issues before opening this

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

No response

@ewalkup ewalkup added bug Something isn't working triage labels Jun 27, 2024
blacktop added a commit that referenced this issue Jun 28, 2024
@blacktop blacktop removed the triage label Jun 28, 2024
@blacktop
Copy link
Owner

should be fixed in latest release, thank you for reporting! ❤️

@ewalkup
Copy link
Author

ewalkup commented Jun 28, 2024

I did get my expected list of pointers with the latest - thanks for the quick turnaround!

There was still this message about missing objc stubs - passing it along in case it needs any additional fixing, I'm not sure:

% ipsw dyld slide --auth dyld_shared_cache_arm64e > dyld_slide
   • parsing public symbols...
   • parsing private symbols...
      • cache does NOT contain local symbols
   • parsing objc info...     
      ⨯ failed to parse objc info: failed to parse objc stubs: macho does not contain __objc_stubs section: missing required ObjC section: Continuing on without it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants