rr icon indicating copy to clipboard operation
rr copied to clipboard

Diff executions

Open joemalle opened this issue 4 years ago • 1 comments

Is there a way to diff two recordings on the same binary? I'm imagining something like this

$ rr record ./mybinary --control
$ rr record ./mybinary --test
$ rr diff
< runControlThing
> runTestThing

joemalle avatar Oct 06 '21 16:10 joemalle

Something like that would be interesting but it's not at all trivial to do. For one thing all the addresses will be different because of ASLR. Detecting when control flow that has diverged "reconverges" is also a problem.

rocallahan avatar Oct 06 '21 21:10 rocallahan