Tencent TDS Service
Tencent TDS Service
Dec 6, 2018 · Mobile Development

Why IMP Calls Crash on ARM64 iOS: Uncovering Variadic ABI Pitfalls

This article investigates a crash caused by calling IMP pointers on ARM64 iOS devices, explains how variadic function argument passing differs from the standard ABI, demonstrates the issue with test code and assembly analysis, and provides a solution by explicitly casting IMP to the correct function type.

ARM64IMPObjective‑C
0 likes · 16 min read
Why IMP Calls Crash on ARM64 iOS: Uncovering Variadic ABI Pitfalls