Created
December 23, 2010 23:27
-
-
Save cchandler/753686 to your computer and use it in GitHub Desktop.
Incorrect opcode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4015d5: e8 ce f9 ff ff callq 400fa8 <printf@plt> | |
4015da: 45 31 e4 xor %r12d,%r12d | |
4015dd: 45 85 ed test %r13d,%r13d | |
4015e0: 48 89 dd mov %rbx,%rbp | |
4015e3: 7e 32 jle 401617 <main+0x197> | |
4015e5: 48 8b 5d 00 mov 0x0(%rbp),%rbx <--- Line that segfaults because %rbp is empty | |
4015e9: be bf 1f 40 00 mov $0x401fbf,%esi | |
4015ee: bf 20 31 60 00 mov $0x603120,%edi | |
4015f3: e8 b0 fa ff ff callq 4010a8 <_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@plt> | |
4015f8: 48 89 c7 mov %rax,%rdi | |
4015fb: 48 89 de mov %rbx,%rsi | |
4015fe: e8 a5 fa ff ff callq 4010a8 <_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@plt> | |
401603: 48 89 c7 mov %rax,%rdi | |
401606: e8 ed f9 ff ff callq 400ff8 <_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@plt> | |
40160b: 41 ff c4 inc %r12d | |
40160e: 48 83 c5 08 add $0x8,%rbp | |
401612: 45 39 e5 cmp %r12d,%r13d | |
401615: 75 ce jne 4015e5 <main+0x165> | |
401617: 4c 89 ff mov %r15,%rdi | |
40161a: 49 ff c6 inc %r14 | |
40161d: e8 a6 fa ff ff callq 4010c8 <_ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@plt> | |
401622: 49 81 fe 00 e1 f5 05 cmp $0x5f5e100,%r14 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment