A deep dive into hooking pure Swift functions at runtime using software breakpoints and protocol conformance descriptors. The technique enables automatic performance monitoring of SwiftUI view body accessors in debug builds by parsing protocol witness tables to find function addresses, then using mach exception handlers to
Sort: