Replace static symbols in MacOS Mach-O binary with external symbols
问题 I have the following scenario: A proprietary MacOS game that statically links a graphics framework MoltenVK into its main Mach-O x86-64 binary. The version of MoltenVK linked in is very old. I have a newer version of MoltenVK in the form of a .dylib (along with newer versions of the SPIRV compiler, libVulkan, etc. if they are needed, also in dylib form). The older and newer version of MoltenVK are ABI compatible, meaning the exported symbol names and function signatures should be identical