|
From: Siddharth N. <si...@gm...> - 2013-01-04 21:40:18
|
Hi All, I am trying to instrument syscalls that read from and modify memory. I want to use the pre_mem_read and post_mem_write functions, but I also need the correct function execution context when the read and write occurs (user program function where the syscall occurs). So my idea was to use Callgrind, record all pre_mem_reads and query the context during the next syscall and similarly during post_mem_writes query the context of the previous syscall that has occurred. I couldn't find any documentation on how pre_mem_read functions work in conjunction with syscalls. Am I going about this right? Thanks, Siddharth |