Skip to content

Instantly share code, notes, and snippets.

@josephlord
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save josephlord/9696526 to your computer and use it in GitHub Desktop.

Select an option

Save josephlord/9696526 to your computer and use it in GitHub Desktop.
The start of objc_msgSend
libobjc.A.dylib`objc_msgSend:
cbz r0, 0x38f86b5e ; objc_msgSend + 62
ldr.w r9, [r0]
ldrh.w r12, [r9, #12] ;<<<< This is the line that crashes
ldr.w r9, [r9, #8]
and.w r12, r12, r1
add.w r9, r9, r12, lsl #3
ldr.w r12, [r9]
teq.w r12, r1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment