[cfe-dev] How does works the allocation of a writable/readable segment in ELF?
TheMask
lol.themask at gmail.com
Wed Apr 9 22:30:54 PDT 2014
A segment of *PT_LOAD* type, flags *PF_write | PF_read*, *p_filesiz = x* and
*p_memsiz = x+y* it's up to the kernel allocate *p_memsiz*, correct? How
does this allocation actually works? the kernel allocate *p_memsiz* and put
the begging of this block memory on *p_vaddr* so that the write/read memory
region of this segment is from *p_vaddr* up to *p_vaddr + p_memsiz*? if so,
what values(address) is the kernel expecting at *p_vaddr* at time before it
does the allocation?
--
View this message in context: http://clang-developers.42468.n3.nabble.com/How-does-works-the-allocation-of-a-writable-readable-segment-in-ELF-tp4038806.html
Sent from the Clang Developers mailing list archive at Nabble.com.
More information about the cfe-dev
mailing list