rr

Debugging tool designed to record and replay program execution. More information: https://rr-project.org/.

rr record path/to/binary --arg1 --arg2

rr replay