arrow
Return

Assembly instruction level reverse execution for debugging

delete2004-04-01
delete29
delete
OA
AI
T
Tankut Akgül
V
Vincent J. Mooney
DOI:10.1145/1018210.1018211delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Assembly instruction level reverse execution provides a programmer with the ability to return a program to a previous state in its execution history via execution of a reverse program. The ability to execute a program in reverse is advantageous for shortening software development time. Conventional techniques for recovering a state rely on saving the state into a record before the state is destroyed. However, state-saving causes significant memory and time overheads during forward execution. The proposed method introduces a reverse execution methodology at the assembly instruction level with low memory and time overheads. The methodology generates, from a program, a reverse program by which a destroyed state is almost always regenerated rather than being restored from a record. This significantly reduces state-saving. The methodology has been implemented on a PowerPC processor with a custom made debugger. As compared to previous work, all of which heavily use state-saving techniques, the experimental results show from 2X to 2206X reduction in run-time memory usage, from 1.5X to 403X reduction in forward execution time overhead and from 1.2X to 2.32X reduction in forward execution time for the tested benchmarks. Furthermore, due to the reduction in memory usage, our method can provide reverse execution in many cases where other methods run out of available memory. However, for cases where there is enough memory available, our method results in 1.16X to 1.89X slow down in reverse execution.
Keywords:
algorithms
debugging
reverse code generation
reverse execution
Omniscient debugging for executable DSLs
err2018-03-01
err34
errOAAI
errBousse, Erwan; Leroy, Dorian; Combemale, Benoit; Wimmer, Manuel; Baudry, Benoit
errShare
errSave
errShare
errSave
Bypassing software-based remote attestation using debug registers
err2024-01-25
err0
errOAAI
errZhang, Zheng; Xue, Jingfeng; Mu, Tianshi; Yu, Ting; Qiu, Kefan; Chen, Tian; Li, Yuanzhang
errShare
errSave
A Survey of Algorithmic Debugging
err2017-08-30
err23
errOAAI
errCaballero, Rafael; Riesco, Adrian; Silva, Josep
errShare
errSave
errShare
errSave
HDLdebugger: Streamlining HDL debugging with Large Language Models
err2025-11-01
err0
PREAI
errYao, Xufeng; Li, Haoyang; Chan, Tsz Ho; Xiao, Wenyi; Yuan, Mingxuan; Huang, Yu; Chen, Lei; Yu, Bei
errShare
errSave

Journal

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
Papers:
1.4K
Citations:
4.5K

Organization

No organization information available
Cited Papers

Cited Papers

errShare
errSave
Nonrenovascular renal hypertension in children
err1977-12-01
err0
PREAI
errStephen R. Shapiro; Raymond D. Adelman; Henry Tesluk
errShare
errSave
Hypertension due to Ask-Upmark Kidney
err1977-11-01
err0
PREAI
errJ. D. SOBEL; N. HAMPEL; A. KURSBAUM; O. ADLER; B. GELLEI
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
no more