-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
/// Address for which this struct was constructed
static func create(address: UInt, index: Int) -> StackSymbol {
var info = dl_info()
dladdr(UnsafeRawPointer(bitPattern: address), &info)
let stackSymbol = StackSymbol(symbol: symbol(info: info),
file: String(cString: info.dli_fname),
address: address,
symbolAddress: unsafeBitCast(info.dli_saddr, to: UInt.self),
image: image(info: info),
offset: offset(info: info, address: address),
index: index)
return stackSymbol
}
error:
String(cString: info.dli_fname)
RCBacktrace/StackSymbol.swift:57: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels