Section
public struct Section
A Section represents one of the binary sections in an object file.
-
The section’s declared name.
Declaration
Swift
public let name: String -
The size of the contents of the section.
Declaration
Swift
public let size: Int -
The raw contents of the section.
Declaration
Swift
public let contents: UnsafeBufferPointer<CChar> -
The address of the section in the object file.
Declaration
Swift
public let address: Int -
Returns a sequence of all the relocations in this object file.
Declaration
Swift
public var relocations: RelocationSequence { get }
Section Structure Reference