Skip to content

Instantly share code, notes, and snippets.

View hummelchen's full-sized avatar

Shmelev Jaroslav hummelchen

  • Moscow, Zelenograd
View GitHub Profile
@hummelchen
hummelchen / bt.txt
Last active November 27, 2017 22:25
Double free r2
% r2 gdb://127.0.0.1:1236 -e dbg.exe.path=some/bad/path
*** Error in `r2': double free or corruption (fasttop): 0x00005640cdb401e0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x70bcb)[0x7ff82eb69bcb]
/lib/x86_64-linux-gnu/libc.so.6(+0x76f96)[0x7ff82eb6ff96]
/lib/x86_64-linux-gnu/libc.so.6(+0x777de)[0x7ff82eb707de]
/usr/local/lib/libr_util.so(r_list_delete+0x5e)[0x7ff82f306c1b]
/usr/local/lib/libr_util.so(r_list_purge+0x3f)[0x7ff82f306aeb]
/usr/local/lib/libr_util.so(r_list_free+0x1f)[0x7ff82f306b37]
/usr/local/lib/libr_io.so(+0x4a1ce)[0x7ff8315c71ce]
@hummelchen
hummelchen / Issue.txt
Last active August 11, 2017 10:33
r2 core and binary
r2 fails with segfault when I try to connect to closed gdbserver port and dbg.exe.path is specified:
Core was generated by `r2 -D gdb -e dbg.exe.path=/bin/ls gdb://127.0.0.1:1337'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000055a866bbe0be in main (argc=6, argv=0x7fffa721abf8, envp=0x7fffa721ac30)
at radare2.c:839
839 free (fh->desc->name);

Keybase proof

I hereby claim:

  • I am hummelchen on github.
  • I am hummelchen (https://keybase.io/hummelchen) on keybase.
  • I have a public key whose fingerprint is 8DE8 A529 C30D 603A 6997 D9AD DF42 EECA 5232 42A2

To claim this, I am signing this object: