Re: dl_iterate_phdr(3) needs clarification

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

 



On 09/16/2017 05:28 PM, Yubin Ruan wrote:

The part about executables is not true.  The most common case probably is
PIE executables.  You see this if you compile the modified test program with
-fpie -pie on a recent enough toolchain.

-fpie only affect address of PT_LOAD. The one inidcated by `dlpi_addr' is
always 0 for an executable. Yes there is indeed some confusion, see [1].

I get this with your patched example:

Address: 0x156927e000, name: "" (9 segments)

Florian
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux