Dynamic analysis using rr

Robert O'Callahan robert at ocallahan.org
Mon Feb 19 20:46:52 UTC 2018


On Tue, Feb 20, 2018 at 8:39 AM, Octav Chipara <ochipara at gmail.com> wrote:

> Thank you for the quick reply. I am reading through the technical report.
> I do realize that the values of variables are not saved. I see two options
> to obtain them:
>
> (1) I noticed that you are having a gdb session as part of rr replay.
> Would it be possible to retrieve variables by interacting with the gdb
> session?
>

Yes.


> (2) Alternatively, I could use an emulator (e.g., unicorn) to playback the
> traces after a syscall since they should be deterministic have no I/O.
>
> Do you have any suggestions which approach may be easier?
>

I suspect the gdb approach is easiest.

Rob
-- 
Su ot deraeppa sah dna Rehtaf eht htiw saw hcihw, efil lanrete eht uoy ot
mialcorp ew dna, ti ot yfitset dna ti nees evah ew; deraeppa efil eht. Efil
fo Drow eht gninrecnoc mialcorp ew siht - dehcuot evah sdnah ruo dna ta
dekool evah ew hcihw, seye ruo htiw nees evah ew hcihw, draeh evah ew
hcihw, gninnigeb eht morf saw hcihw taht.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rr-dev/attachments/20180220/afcf45aa/attachment-0001.html>


More information about the rr-dev mailing list