---
title: "symbolAddress(imageName:symbolName:)"
framework: crashreportextension
role: symbol
role_heading: Instance Method
path: "crashreportextension/crashedprocess/symboladdress(imagename:symbolname:)"
---

# symbolAddress(imageName:symbolName:)

Looks up a symbol’s address by name.

## Declaration

```swift
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

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