Contents

objc_copyImageHeaders(_:)

Returns the Mach headers of all the images loaded into the current process that contain Objective-C or Swift code.

Declaration

func objc_copyImageHeaders(_ outCount: UnsafeMutablePointer<UInt32>?) -> UnsafeMutablePointer<OpaquePointer>
func objc_copyImageHeaders(_ outCount: UnsafeMutablePointer<UInt32>?) -> UnsafeMutablePointer<UnsafePointer<mach_header>>

Parameters

  • outCount:

    The number of image headers returned.

Return Value

An array of @c mach_header pointers. The array contains @c *outCount pointers followed by a @c NULL terminator. You must free the array with