[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu-user: relocating target code weakness
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] qemu-user: relocating target code weakness |
Date: |
Wed, 26 Jan 2011 12:19:01 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7 |
On 01/26/2011 12:17 PM, Lluís wrote:
> 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.
That's the current top of the heap. I answered the question as if
it was asking for the maximum top of the heap.
r~
- Re: [Qemu-devel] qemu-user: relocating target code weakness, (continued)
- Re: [Qemu-devel] qemu-user: relocating target code weakness, Stefano Bonifazi, 2011/01/25
- Re: [Qemu-devel] qemu-user: relocating target code weakness, Richard Henderson, 2011/01/25
- Re: [Qemu-devel] qemu-user: relocating target code weakness, Stefano Bonifazi, 2011/01/25
- Re: [Qemu-devel] qemu-user: relocating target code weakness, Lluís, 2011/01/25
- Re: [Qemu-devel] qemu-user: relocating target code weakness, Stefano Bonifazi, 2011/01/26
- Re: [Qemu-devel] qemu-user: relocating target code weakness, Richard Henderson, 2011/01/26
- Re: [Qemu-devel] qemu-user: relocating target code weakness, Stefano Bonifazi, 2011/01/26
- Re: [Qemu-devel] qemu-user: relocating target code weakness, Lluís, 2011/01/26
- Re: [Qemu-devel] qemu-user: relocating target code weakness,
Richard Henderson <=
- Re: [Qemu-devel] qemu-user: relocating target code weakness, Stefano Bonifazi, 2011/01/26
- Re: [Qemu-devel] qemu-user: relocating target code weakness, Lluís, 2011/01/26