История изменений
Исправление
Einstok_Fair,
(текущая версия)
:
man ld
-z keyword
The recognized keywords are:
now
When generating an executable or shared library, mark it to tell the dynamic linker to resolve all symbols when the program is started, or when the shared library is linked to using dlopen, instead of deferring function call resolution to the point when the function is first called.
Слова эти много где встречаются
BIND_NOW
https://wiki.debian.org/Hardening#DEB_BUILD_HARDENING_BINDNOW_.28ld_-z_now.29
https://wiki.gentoo.org/wiki/Hardened/Toolchain#Default_full_binding_at_load-...
https://eklitzke.org/all-about-linkers
https://eli.thegreenplace.net/2011/11/03/position-independent-code-pic-in-sha...
https://cardaci.xyz/blog/2018/03/01/overriding-shared-libraries-in-immediatel...
https://nostarch.com/download/PracticalBinary_Ch5.pdf
https://blog.quarkslab.com/have-fun-with-lief-and-executable-formats.html
Но не очень понятно, при чём тут утилита file. Наверное ты смотрел её исходный код.
$ which file
/usr/bin/file
$ qfile /usr/bin/file
sys-apps/file (/usr/bin/file)
HOMEPAGE="https://www.darwinsys.com/file/"
EGIT_REPO_URI="https://github.com/glensc/file.git"
дальше мысль не идёт
Исправление
Einstok_Fair,
:
man ld
-z keyword
The recognized keywords are:
now
When generating an executable or shared library, mark it to tell the dynamic linker to resolve all symbols when the program is started, or when the shared library is linked to using dlopen, instead of deferring function call resolution to the point when the function is first called.
Слова эти много где встречаются
BIND_NOW
https://wiki.debian.org/Hardening#DEB_BUILD_HARDENING_BINDNOW_.28ld_-z_now.29
https://wiki.gentoo.org/wiki/Hardened/Toolchain#Default_full_binding_at_load-...
https://eklitzke.org/all-about-linkers
https://eli.thegreenplace.net/2011/11/03/position-independent-code-pic-in-sha...
https://cardaci.xyz/blog/2018/03/01/overriding-shared-libraries-in-immediatel...
https://nostarch.com/download/PracticalBinary_Ch5.pdf
https://blog.quarkslab.com/have-fun-with-lief-and-executable-formats.html
Но не очень понятно, при чём тут утилита file. Наверное ты смотрел её исходный код.
$ which file
/usr/bin/file
$ qfile /usr/bin/file
sys-apps/file (/usr/bin/file)
HOMEPAGE="https://www.darwinsys.com/file/"
[br]
EGIT_REPO_URI="https://github.com/glensc/file.git"
дальше мысль не идёт
Исправление
Einstok_Fair,
:
man ld
-z keyword
The recognized keywords are:
now
When generating an executable or shared library, mark it to tell the dynamic linker to resolve all symbols when the program is started, or when the shared library is linked to using dlopen, instead of deferring function call resolution to the point when the function is first called.
Слова эти много где встречаются
BIND_NOW
https://wiki.debian.org/Hardening#DEB_BUILD_HARDENING_BINDNOW_.28ld_-z_now.29
https://wiki.gentoo.org/wiki/Hardened/Toolchain#Default_full_binding_at_load-...
https://eklitzke.org/all-about-linkers
https://eli.thegreenplace.net/2011/11/03/position-independent-code-pic-in-sha...
https://cardaci.xyz/blog/2018/03/01/overriding-shared-libraries-in-immediatel...
https://nostarch.com/download/PracticalBinary_Ch5.pdf
https://blog.quarkslab.com/have-fun-with-lief-and-executable-formats.html
Но не очень понятно, при чём тут утилита file. Наверное ты смотрел её исходный код.
$ which file
/usr/bin/file
$ qfile /usr/bin/file
sys-apps/file (/usr/bin/file)
HOMEPAGE="https://www.darwinsys.com/file/"
EGIT_REPO_URI="https://github.com/glensc/file.git"
https://github.com/file/file/blob/master/src/readelf.h#L486
дальше мысль не идёт
Исходная версия
Einstok_Fair,
:
man ld
-z keyword
The recognized keywords are:
now
When generating an executable or shared library, mark it to tell the dynamic linker to resolve all symbols when the program is started, or when the shared library is linked to using dlopen, instead of deferring function call resolution to the point when the function is first called.
Слова эти много где встречаются
BIND_NOW
https://wiki.debian.org/Hardening#DEB_BUILD_HARDENING_BINDNOW_.28ld_-z_now.29
https://wiki.gentoo.org/wiki/Hardened/Toolchain#Default_full_binding_at_load-...
https://eklitzke.org/all-about-linkers
https://eli.thegreenplace.net/2011/11/03/position-independent-code-pic-in-sha...
https://cardaci.xyz/blog/2018/03/01/overriding-shared-libraries-in-immediatel...
https://nostarch.com/download/PracticalBinary_Ch5.pdf
https://blog.quarkslab.com/have-fun-with-lief-and-executable-formats.html
Но не очень понятно, при чём тут утилита file. Наверное ты смотрел её исходный код.