[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Intercept function call
- From: "Fabrício de Alexandria" <fabricio@...>
- Date: Wed, 22 Oct 2003 14:05:02 -0200 (BRST)
Here is my situation. Suppose that I have three functions:
I want to execute x() and y() but before or after the execution of x() I
want to execute z(). Something like during the execution of the program I
want to intercept the x() function call, execute z() and then return to
the normal execution of the program. How can I do that?
I searched something like this in the archive but I didn't find anything.
Fabrício de Alexandria Fernandes
UFRN - CCET - DIMAp
Natal - RN - Brasil