Skip to content

Instantly share code, notes, and snippets.

@zsoltf
Created March 3, 2013 19:41
Show Gist options
  • Save zsoltf/5077905 to your computer and use it in GitHub Desktop.
Save zsoltf/5077905 to your computer and use it in GitHub Desktop.
iphoneos arm7 sed patch from http://iphonesdkdev.blogspot.de/2013/02/illegal-instruction-4.html?m=1 used this to patch vim 7.3 for iPhone 5
sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' old_ios_binary
ldid -s old_ios_binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment