|
From: Josef W. <Jos...@gm...> - 2005-05-19 15:51:38
|
On Thursday 19 May 2005 12:17, Julian Seward wrote: > The problem is that ada (and nested C/C++ fns, with gcc) create small > bits of code on the stack and then run them. What about other programs with self-modifying code and on-the-fly code generation? Like Java/C#/... VMs, and Valgrind itself? Does Valgrind already notify an "outer" Valgrind when it invalidates part of its translation cache? I wonder if it would be needed to extend the check to writable segments. There also could be a client request for a segment with the meaning: "I will execute self-written code inside, but will keep sure myself to invalidate regions before overwriting code". This could be used by Valgrind then. Josef |