2017-05-08 20:39 GMT+02:00 Siddharth Nilakantan <sid....@gmail.com>:
> Hi Mike and Ivo,
>
> I noticed a thread where you guys had a discussion going.
>
> https://sourceforge.net/p/valgrind/mailman/message/35687503/
>
> I was playing around with writing a tool that does some online analysis of
> register reads/writes. Basically, the tool needs to know every register
> read/write performed by the user program.

Hi Sid,

What is the ultimate goal of your analysis tool?

> Due to minor ambiguity in the  documentation (both in the code and the PLDI 
> paper), I discovered the hard
> way that VG_(track_post_reg_write) and VG_(track_pre_reg_read) are functions
> that are called only around syscalls. I'm guessing that any VG_(track_pre_*)
> and VG_(track_post_*) functions occur only around syscalls.

Yes, indeed.
Every tool also works with the IR (intermediate representation) - this where you
can catch (and instrument) register reads and writes.

I.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to