How 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…Dec 21, 2021Dec 21, 2021
Tips For Bezier CurveThe following shows the method of using the third-order Bezier curve to find the mapping value of time and progress.Mar 18, 2021Mar 18, 2021
A 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…Jan 11, 2021Jan 11, 2021
How 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…Aug 6, 2020Aug 6, 2020
How to use fishhook in pure SwiftThere is a solution for using fishhook in Swift without creating any obj-c or c files.Jul 8, 2020Jul 8, 2020
Swift & TrampolinesExecution jumps into the trampoline and then immediately jumps out, or bounces, hence the term trampoline.May 14, 2020May 14, 2020