SA ps_core mixing p_filesz and p_memsz in multiple places
Dmitry Samersoff
dmitry.samersoff at oracle.com
Sat Oct 12 12:08:41 PDT 2013
Kelly,
Glad to hear your voice and thank you for the info!
-Dmitry
On 2013-10-12 19:43, O'Hair Kelly wrote:
> Ghosts from the past. ;^)
>
> This may help: http://www.sco.com/developers/gabi/latest/ch5.pheader.html
>
> p_memsz will always be equal to or greater than p_filesz, the extra space is usually null bytes and I think would represent uninitialized static memory,
> but with a core file means that part of memory is not available or something like that.
> These fields can not be assumed to be the same all the time.
>
> Good Luck. . ..... . . . I will now fade back into my ghostly realm ... ;^)
>
>
> -kto
>
> On Oct 12, 2013, at 4:40 AM, Dmitry Samersoff <Dmitry.Samersoff at oracle.com> wrote:
>
>> Hi Everybody,
>>
>> SA ps_proc code mixing two different fileds of Elf header p_filesz and
>> p_memsz.
>>
>> Fortunately in most cases they contains the same value but simetimes not.
>>
>> Do you have any background ?
>>
>>
>> I plan to file a bug and clean this up.
>>
>>
>> --
>> Dmitry Samersoff
>> Oracle Java development team, Saint Petersburg, Russia
>> * I would love to change the world, but they won't give me the sources.
>
--
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.
More information about the serviceability-dev
mailing list