Skip to content

Instantly share code, notes, and snippets.

@drscream
Created January 17, 2017 13:39
Show Gist options
  • Save drscream/b970b18aaab4654cd0c51899a8e4ee88 to your computer and use it in GitHub Desktop.
Save drscream/b970b18aaab4654cd0c51899a8e4ee88 to your computer and use it in GitHub Desktop.
[root@fluffy (de-muc-ipx) /zones/dcaaf7c8-7b04-42bd-bf61-c12ee3315b6c/cores]# mdb core.in.imapproxyd.90929
Loading modules: [ libumem.so.1 libc.so.1 ld.so.1 ]
> $c
main+0x2d4()
_start+0x6c()
> $C
fffffd7fffdffc90 main+0x2d4()
fffffd7fffdffca0 _start+0x6c()
> main+0x2d4::dis
main+0x2b2: je +0x83a <main+0xaf2>
main+0x2b8: movq %r12,%rdx
main+0x2bb: xorl %esi,%esi
main+0x2bd: movq %rax,%rdi
main+0x2c0: call -0x776d <PLT=libc.so.1`memset>
main+0x2c5: xorl %eax,%eax
main+0x2c7: leal -0x1(%r13),%edx
main+0x2cb: jmp +0xb <main+0x2d8>
main+0x2cd: addq $0x68,%rbx
main+0x2d1: addl $0x1,%eax
main+0x2d4: movq %rbx,-0x8(%rbx)
main+0x2d8: cmpl %edx,%eax
main+0x2da: jb -0xf <main+0x2cd>
main+0x2dc: movl $0x4233c0,%edx <in.imapproxyd`ICC_HashTable>
main+0x2e1: xorl %eax,%eax
main+0x2e3: movl $0x400,%ecx
main+0x2e8: movq %rdx,%rdi
main+0x2eb: movl $0x40dc50,%esi
main+0x2f0: movl $0x40d757,%edx
main+0x2f5: repz stosq %rax,(%rdi)
main+0x2f8: movq +0x19649(%rip),%rcx <in.imapproxyd`PC_Struct+0x58>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment