Side-effect removal transformation
Authors:
- M. HarmanMHM. Harman
- M. MunroMMM. Munro
- Lin HuLHLin Hu
- Xingyuan ZhangXZXingyuan Zhang
- 13 November 2002
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10928138,p. 310-319
Abstract
A side-effect is any change in program state that occurs as a by-product of the evaluation of an expression. Side-effects are often thought to impede program comprehension and to lead to complex, poorly understood and occasionally undefined semantics. Side-effect removal transformation (SERT) improves comprehension by rewriting a program p, which may contain side-effects, into a semantically equivalent program p', which is guaranteed to be side-effect free. This paper introduces the SERT approach to the side-effect problem, briefly reporting initial experience with an implementation of SERT for C programs, called Linsert.Keywords
This publication has 21 references indexed in Scilit:
- The Maintainer's Assistant (software tool)2003
- Amorphous program slicing2002
- Conditioned program slicingInformation and Software Technology, 1998
- A parallel algorithm for static program slicingInformation Processing Letters, 1995
- Symbolic execution and testingInformation and Software Technology, 1991
- Specification and Transformation of Programs1990
- Debugging in a side effect free programming environment1985
- Program SlicingIEEE Transactions on Software Engineering, 1984
- A note on the semantic definition of side effectsInformation Processing Letters, 1976
- Assigning meanings to programs1967