[File] Detecting PIE binaries
Ed Maste
emaste at freebsd.org
Tue Jun 9 14:34:02 UTC 2020
On Thu, 4 Jun 2020 at 16:46, Christos Zoulas <christos at zoulas.com> wrote:
>
> Yes, and binutils/ld does it... The code in file handles it here: https://github.com/file/file/blob/master/src/readelf.c#L1113
> so it looks like it should work. I will wait until I can install a new version of current that has it, but perhaps you can also check
> if the head of file on GitHub fixes the issue?
Thanks Christos, indeed, it does work.
hello: ELF 64-bit LSB pie executable, x86-64, version 1 (FreeBSD),
dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 13.0
(1300087), FreeBSD-style, with debug_info, not stripped
So I just need to get a new version into FreeBSD.
More information about the File
mailing list