qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu-user: relocating target code weakness


From: Lluís
Subject: Re: [Qemu-devel] qemu-user: relocating target code weakness
Date: Wed, 26 Jan 2011 21:17:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Richard Henderson writes:

> On 01/26/2011 03:07 AM, Stefano Bonifazi wrote:
>> P.S. Please just answer that last question, whether it is possible to
>> have a variable showing the upper bound of heap (some brk_end) for a
>> target process

> No, the heap grows until it reaches some other memory mapped entity.

>From man brk(2) :

     "sbrk() increments the program's data space by increment bytes.
      Calling sbrk() with an increment of 0 can be used to find the
      current location of the program break."

I already sent this to the list in a previous mail, but it seems you
overlooked it as you were not an explicit recipient.


Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth



reply via email to

[Prev in Thread] Current Thread [Next in Thread]