Hi,
I want to instrument call instruction so that my
tracking function is called on each call instruction.
>From what I understand, I should
a) change  target-i386/translate.c case 0xe8 to
generate my own microinstruction, say gen_op_mycall()
b) Add functionality of op_mycall() to
target-i386/op.c
c) Add this new micro-instruction in
i386-softmmu/opc.h. 

Is the above correct?
If yes, I am not sure how to determine the
microinstructions size which is required in 
DEF(s, n, copy_size).

Thanks,
Divya


       
____________________________________________________________________________________Looking
 for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/


Reply via email to