Interoperability (ARM64)
Please read the general section first, this contains ARM64 specific stuff.
Fallback Strategy: Free Space from Function Alignment
In the case of ARM64, padding is usually down with the following sequences:
- nop
(0xD503201F
, big endian), used by GCC.
- and x0, x0
(0x00000000
), used by MSVC.
Getting sufficient bytes to make good use of them in ARM64 is more uncommon than x86.