Simple Vulnerable Stack Buffer Overflow on iOS ARM64

On this tutorial we are going to write a very simple code vulnerable to BoF running on iOS. Here my test phone is iPhone8 and iOS 14.4.1 ARM64.

Jailbreaking iPhone 14 with Checkra1n

To be able to have some fun research, first we must jailbreak our iPhone. My test phone here is iPhone8 and iOS 14.4.1 ARM64.