Skip to content

Instantly share code, notes, and snippets.

@Interfere
Created April 15, 2021 20:52
Show Gist options
  • Save Interfere/d5a21f17880bf906b27b45174a77fa22 to your computer and use it in GitHub Desktop.
Save Interfere/d5a21f17880bf906b27b45174a77fa22 to your computer and use it in GitHub Desktop.
Probably a bug in libswiftCore.dylib
libswiftCore.dylib`swift_getObjectType:
-> 0x10c7a8180 <+0>: pushq %rbp
0x10c7a8181 <+1>: movq %rsp, %rbp
0x10c7a8184 <+4>: pushq %r14
0x10c7a8186 <+6>: pushq %rbx
0x10c7a8187 <+7>: movq %rdi, %rbx
0x10c7a818a <+10>: testq %rdi, %rdi
0x10c7a818d <+13>: jns 0x10c7a8199 ; <+25>
0x10c7a818f <+15>: movq %rbx, %rdi
0x10c7a8192 <+18>: callq 0x10c7d5a04 ; symbol stub for: object_getClass
0x10c7a8197 <+23>: jmp 0x10c7a81c1 ; <+65>
0x10c7a8199 <+25>: movq (%rbx), %rax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment