|
From: Indhu K. <ind...@gm...> - 2006-06-25 04:06:13
|
Hi, I am trying to modify Lackey to suit my purpose. I understand that each tool has the following defined : pre_clo_init, instrument, post_clo_init and fini. (I notice that they are not being called explicitly) It would be of a great help if you can give me a hint as to how these functions are called. Thank you, Indhu |
|
From: Nicholas N. <nj...@cs...> - 2006-06-25 04:32:00
|
On Sun, 25 Jun 2006, Indhu Krishna wrote: > I am trying to modify Lackey to suit my purpose. > I understand that each tool has the following defined : pre_clo_init, > instrument, post_clo_init and fini. > (I notice that they are not being called explicitly) > It would be of a great help if you can give me a hint as to how these > functions are called. See http://www.valgrind.org/docs/manual/writing-tools.html. Note that this document may be slightly out-of-date in places (eg. it links to a document about the old IR called UCode, while we now use a newer IR called Vex), but it will be mostly correct. Nick |