Skip to content

Symbols look broken on macOS arm64 13.2.1 (22D68) #54

@ViRb3

Description

@ViRb3

Describe the bug

The symbols for many functions seem wrong:

Screenshot 2023-03-10 at 00 55 50

To Reproduce

I don't know if this use case is supported, but on M1 (arm64) macOS 13.2.1, the shared cache is located under:

  • /System/Volumes/Preboot/Cryptexes/OS/System/Library/dyld/

Full list:

aot_shared_cache.0
aot_shared_cache.1
aot_shared_cache.2
aot_shared_cache.3
aot_shared_cache.4
dyld_shared_cache_arm64e
dyld_shared_cache_arm64e.01
dyld_shared_cache_arm64e.map
dyld_shared_cache_x86_64
dyld_shared_cache_x86_64.01
dyld_shared_cache_x86_64.02
dyld_shared_cache_x86_64.03
dyld_shared_cache_x86_64.04
dyld_shared_cache_x86_64.map

So, I tried to extract CloudKit using:

dyldex -e "cloudkit" /System/Volumes/Preboot/Cryptexes/OS/System/Library/dyld/dyld_shared_cache_arm64e

It gave me a symbols error:

[  ERROR  ] linkedit_optimizer.py:271 : Symbols Cache doesn't contain local symbols.

But I guess that's expected, since there is no .symbols file. The binary is extracted anyway. I then load it into IDA, and see the output above. Apart from the symbols, everything else looks good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions