Skip to main content

apple-symbols

Turn addresses of Apple devices into symbol names, in pure Python:

  • Userland: against an Xcode DeviceSupport Symbols tree, which holds the dyld shared cache of a device split into one Mach-O per image.
  • Kernel: against a kernelcache. Released kernelcaches are stripped, so naming their functions takes ipsw and its symbolication signatures.

It only reads files: getting the symbols of a device onto the host is up to tools such as Xcode or pymobiledevice3 developer fetch-symbols download.

Installation

python3 -m pip install apple-symbols

Usage

from apple_symbols import DeviceSupportSymbols, find_device_support_symbols

# ~/Library/Developer/Xcode/iOS DeviceSupport/iPhone17,3 26.4 (23E246)/Symbols
root = find_device_support_symbols("iPhone17,3", "23E246")
symbols = DeviceSupportSymbols.load(root)

# By the UUID of an image and an offset into it, as crash reports give
image = symbols.image_by_uuid("11111111-2222-3333-4444-555555555555")
print(symbols.symbolicate(image, image.vmaddr + 0x1234))  # (symbol name, offset from it) or None

# By an unslid address of the shared cache
image = symbols.image_by_address(0x180012345)
from pathlib import Path

from apple_symbols import KernelSymbols

kernel = KernelSymbols.load(Path("kernelcache.release.iphone17"), signatures=Path("symbolicator/kernel"))
image = kernel.image_by_uuid("12121212-3434-5656-7878-909090909090")
print(image.name, kernel.symbolicate(image.text_exec + 0x1234))  # addresses are unslid

Indexing a tree or a kernelcache takes a while, so the result is kept in $XDG_CACHE_HOME/apple-symbols (~/.cache/apple-symbols by default) and reused until the files change. Both load() methods take an index_dir to keep it elsewhere.

apple_symbols.testing builds minimal Mach-O files and filesets, for testing code which symbolicates.

Metadata

Release files for apple-symbols 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for apple-symbols 0.0.1
File Size Uploaded Provenance Actions
apple_symbols-0.0.1.tar.gz 17.1 kB With provenance Details for apple_symbols-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for apple-symbols 0.0.1
File Interpreter ABI Platform Actions
apple_symbols-0.0.1-py3-none-any.whl Python 3 none any Details for apple_symbols-0.0.1-py3-none-any.whl

Total release size: 32.0 kB

Release files / apple_symbols-0.0.1.tar.gz

Download URL apple_symbols-0.0.1.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
80f265fe80247e6c5e9fe37e3dd9ab56e6bdfce264381e51be8dc67bf4dca791
BLAKE2b-256 checksum
How to use checksums
de01c5032d9aa1ec4d9408b374900b2b763c1165eada3018627a7b235769c21f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / apple_symbols-0.0.1-py3-none-any.whl

Download URL apple_symbols-0.0.1-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6915a3df1684a5d55182c49b05a2aeb3a8bef2d7bc3ce62378afc6a2c539e884
BLAKE2b-256 checksum
How to use checksums
8210c660d10728f724af0ce0744be41130936792730978afb7ff5dcc4ef62d38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for apple-symbols 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for apple_symbols-0.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page