<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CrashReportExtension",
  "identifier" : "/documentation/CrashReportExtension/CrashedProcess/symbolAddress(imageName:symbolName:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "CrashReportExtension"
    ],
    "preciseIdentifier" : "s:20CrashReportExtension14CrashedProcessC13symbolAddress9imageName0fI0s6UInt64VSSSg_SStF"
  },
  "title" : "symbolAddress(imageName:symbolName:)"
}
-->

# symbolAddress(imageName:symbolName:)

Looks up a symbol’s address by name.

```
final func symbolAddress(imageName: String?, symbolName: String) -> UInt64
```

## Parameters

`imageName`

The path of the Mach-O binary image, such as `/usr/lib/libSystem.B.dylib`, that contains the symbol. Use `nil` to search for the symbol in all images loaded in the process space.

`symbolName`

The name of the symbol to find.

## Return Value

The symbol’s address, or `0` if searching the image didn’t find the symbol.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)