[Bug 246960] file(1) does not report PIE binaries
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jun 21 16:02:19 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246960
--- Comment #2 from Ed Maste <emaste at freebsd.org> ---
File from ports gets both cases correct:
% cp /lib/libc.so.7 /tmp/
% chmod +x /tmp/libc.so.7
% /usr/local/bin/file /tmp/libc.so.7
/tmp/libc.so.7: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD),
dynamically linked, stripped
% /usr/local/bin/file ~/hello
/home/emaste/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
while file in-tree incorrectly reports shared object for the PIE binary
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list