Tracing memory words for pointers
Hello,
I have been searching for a way to allow the kernel to read processes' pages' contents so that it tells if there are pointers or not. If it finds pointers, it should 'trace' them or reference count their referent object.
I would appreciate it if anyone tells me if there is an existing method to do this in the kernel or gives me any hints.
The thing that gives me a headache is pointers representation in memory. If I use a similar way to that of Boehm-Demers-Weiser it would incur high penalties on both performance and responsiveness. But most importantly, misidentification of true pointers will be more of a subject to the running programmes and their programming languages.
I will be glad if someone can help me find pointers in memory based on their representation. I am working with an Intel Core 2 Duo and Pentium 4.
Thanks in advance
Last edited by KareemSedki; 10-26-2007 at 01:10 PM.
Reason: typo
|