Skip to content

DynamicReplacementDescriptor

tevelee edited this page Jul 25, 2026 · 1 revision

DynamicReplacementDescriptor

One function replacement recorded in a dynamic replacement scope.

public struct DynamicReplacementDescriptor: LayoutWrapper 

Inheritance

LayoutWrapper

Properties

replacedFunctionKey

The key for the function being replaced, if the image records one.

public var replacedFunctionKey: DynamicReplacementKey? 

replacementFunction

The replacement implementation entry point.

public var replacementFunction: UnsafeRawPointer 

Its calling convention depends on replacedFunctionKey; Echo exposes the address for inspection and does not invoke it.

chainEntry

The replacement-chain entry managed by the Swift runtime.

public var chainEntry: DynamicReplacementChainEntry 

shouldChain

Whether the runtime keeps the previous replacement in the call chain.

public var shouldChain: Bool 
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally