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: Richard Henderson
Subject: Re: [Qemu-devel] qemu-user: relocating target code weakness
Date: Tue, 25 Jan 2011 08:26:37 -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/25/2011 03:06 AM, Stefano Bonifazi wrote:
>> start_brk   0x00000000
>> end_code    0x400102e0
>> start_code  0x40000000
>> start_data  0x4001024c
>> end_data    0x400102e0
>> start_stack 0x40811438
>> brk         0x400102e4
>> entry       0x40828c24
> that is start_brk is 0
> As far as I understood brk is the .bss section, that is unitialized data 
> area, am I right?

Not quite.  It's normally the beginning of the heap, after the bss section.

That said, it looks like start_brk is a dead variable.  It's written only by the
FLAT loader, and nothing at all reads it, except for this debugging dump.

The "real" value is the "brk" variable, which is indeed set to a plausible 
looking value.


r~



reply via email to

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