These scripts are not meant for general developer usage. They are for
use on the release binaries, which have been compiled in an environment
that makes various assumptions in regards to c library, compiler
options, hardening options, patching etc.
This is a backport of core#32458
Depends on D18898
Note that I need to disable linters for this diff because the current required version of lief (0.13.2) cannot be installed with python 3.12. This diff is a step towards fixing this, because it is a dependency of the PR that bumps the lief version.