Reversing an Imperative Concurrent Programming Language
Abstract
We introduce a method of reversing the execution of imperative concurrent programs. Given an irreversible program, we describe the process of producing two versions. The first performs forward execution and saves information necessary for reversal. The second uses this saved information to simulate reversal. We propose using identifiers to overcome challenges of reversing concurrent programs. We prove this reversibility to be correct, showing that the initial program state is restored and that all saved information is used (garbage-free).
- Publication:
-
arXiv e-prints
- Pub Date:
- May 2022
- DOI:
- 10.48550/arXiv.2205.01171
- arXiv:
- arXiv:2205.01171
- Bibcode:
- 2022arXiv220501171H
- Keywords:
-
- Computer Science - Programming Languages
- E-Print:
- 48 pages, 21 figures