New Error-recovery Techniques for Faulty-Calls of Functions

Citation:
El-Zawawy, M. A., and N. M. Daoud, "New Error-recovery Techniques for Faulty-Calls of Functions", Computer and Information Science, vol. 5, no. 3, pp. 67-75, May, 2012.

Abstract:

In this paper, we introduce type systems to detect faulty calls of functions in a program. The intended meaning of the faulty call is calling a function with a miss-match to the number of its arguments. We use error-detecting semantics that when detects the faulty calls, doesn't proceed to the next state. Type systems are used in the process of analysis and in repairing. The paper presents two type systems: the safety type system which checks the safety of a given program and the repairing type system which corrects errors. The repairing process is made by replacing the faulty call of function with a correct one. In the repairing process simple interactive input/output statements are used. The interaction (input/output) helps to get the lost parameters by interacting with the user; informing him about the number of lost parameters. The user can then input these parameters.

Notes:

n/a

Tourism