Skip to content

Instantly share code, notes, and snippets.

@Duncaen
Created March 19, 2015 17:35
Show Gist options
  • Select an option

  • Save Duncaen/fd28b8aa5b4038212244 to your computer and use it in GitHub Desktop.

Select an option

Save Duncaen/fd28b8aa5b4038212244 to your computer and use it in GitHub Desktop.
stdin
backtrace:
#0 0x00000000005346b0 in lock_bin ()
No symbol table info available.
#1 0x0000000000b76450 in ?? ()
No symbol table info available.
#2 0x0000000000b76ff0 in ?? ()
No symbol table info available.
#3 0x000000000053498b in free ()
No symbol table info available.
#4 0x0000000000000000 in ?? ()
No symbol table info available.
registers:
rax 0x25 37
rbx 0x25 37
rcx 0xba1 2977
rdx 0xcc0 3264
rsi 0xba1 2977
rdi 0x817bd0 8485840
rbp 0x378 0x378
rsp 0x7fffff7ff000 0x7fffff7ff000
r8 0x121 289
r9 0x8080808080808080 -9187201950435737472
r10 0xffffffffcea0c7d1 -828323887
r11 0xb740fb 12009723
r12 0xba0 2976
r13 0x0 0
r14 0xba0 2976
r15 0x25 37
rip 0x5346b0 0x5346b0 <lock_bin+17>
eflags 0x10202 [ IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x63 99
gs 0x0 0
current instructions:
=> 0x5346b0 <lock_bin+17>: callq 0x534665 <lock>
0x5346b5 <lock_bin+22>: lea 0x817850(%rbp),%rax
0x5346bc <lock_bin+29>: add $0x817840,%rbp
0x5346c3 <lock_bin+36>: cmpq $0x0,0x20(%rbp)
0x5346c8 <lock_bin+41>: jne 0x5346d2 <lock_bin+51>
0x5346ca <lock_bin+43>: mov %rax,0x28(%rbp)
0x5346ce <lock_bin+47>: mov %rax,0x20(%rbp)
0x5346d2 <lock_bin+51>: pop %rax
0x5346d3 <lock_bin+52>: pop %rbx
0x5346d4 <lock_bin+53>: pop %rbp
0x5346d5 <lock_bin+54>: retq
0x5346d6 <unlock>: mov (%rdi),%eax
0x5346d8 <unlock+2>: test %eax,%eax
0x5346da <unlock+4>: je 0x53470a <unlock+52>
0x5346dc <unlock+6>: xor %eax,%eax
0x5346de <unlock+8>: mov %eax,(%rdi)
threads backtrace:
Thread 1 (process 18488):
#0 0x00000000005346b0 in lock_bin ()
#1 0x0000000000b76450 in ?? ()
#2 0x0000000000b76ff0 in ?? ()
#3 0x000000000053498b in free ()
#4 0x0000000000000000 in ?? ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment