visitorHow to implement memory records tool based on MallocStackLoggingAccording to the open-source code (libmalloc) and the apple documents. The memory records used in the memory graph tool are based on the…1 min read·Dec 21, 2021----
visitorTips For Bezier CurveThe following shows the method of using the third-order Bezier curve to find the mapping value of time and progress.1 min read·Mar 18, 2021----
visitorA new optimization about method_exchangeImplementations in objc4–818.2Before objc4–818.2, the runtime system will flush the method cache list of all objc class when using method_exchangeImplementations…1 min read·Jan 11, 2021----
visitorHow dyld_stub_binder worksAs we all know, the value of the lazy symbol pointer section in Mach-O will be bound to the corresponding actual memory address before the…2 min read·Aug 6, 2020----
visitorHow to export all __attribute__((constructor)) functions based on Mach-01 min read·Jul 10, 2020----
visitorHow to use fishhook in pure SwiftThere is a solution for using fishhook in Swift without creating any obj-c or c files.1 min read·Jul 8, 2020----
visitorSwift & TrampolinesExecution jumps into the trampoline and then immediately jumps out, or bounces, hence the term trampoline.4 min read·May 14, 2020----
visitorHow to read Swift source codeWhy do we need to read the source code4 min read·Dec 17, 2019----