|
From: Pandurangan R S <pan...@gm...> - 2008-06-05 16:07:43
|
Hi, I am interested in knowing how valgrind works, particularly on how it validates memory access. I checked the source code (files in memcheck directory) and I found mappings being maintained for memory adddress and its state. I assume that valgrind checks each memory access, against this tables. But how does valgrind intercept every memory access so that it can lookup this table? This might be very basic question, but I could not find how valgrind checks every access. Any pointers or document references related to this will be great. Thanks Pandu |