Ways to detect rr using GDB's Python API

Dominik Czarnota dominik.b.czarnota at gmail.com
Thu May 31 22:37:40 UTC 2018


Hey,

What are the ways to detect rr through GDB's Python API?
I am aware of `gdb.execute('show prompt')` or checking if memory mappings
points to /usr/lib/rr/* - but is there any better way?

I need it as Pwndbg - a GDB plugin for asm debugging/reverse engineering (
https://github.com/pwndbg/pwndbg) I am developing doesn't work with rr
right now (see https://github.com/pwndbg/pwndbg/issues/476).

Thanks,
disconnect3d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rr-dev/attachments/20180601/79f8742b/attachment.html>


More information about the rr-dev mailing list