|
From: Jeremy F. <je...@go...> - 2005-03-04 17:07:03
|
Julian Seward wrote:
>Yes, I agree. But (1) not for 2.4.0, and (2) how does this client
>request work? The client request needs to happen atomically with
>the new assignment to the stack pointer; I don't see how that can
>happen.
>
No, I was proposing a call which you'd use at stack-allocation time, to
tell Valgrind that this is a stack, and it is distinct from all other
stacks. This would allow update_unknown_ESP (or whatever it's called)
to know whether the ESP changed from one stack area to another. It also
has the advantage of not needing to instrument every place in which the
stack switch can happen.
J
|