skip elements-util test for _FORTIFY_SOURCE usage in release binaries

This commit is contained in:
Tom Trevethan 2026-04-30 13:30:16 +01:00
parent 4b1206f298
commit 16ad3fd0b8
No known key found for this signature in database

View file

@ -119,8 +119,9 @@ def check_ELF_CONTROL_FLOW(binary) -> bool:
def check_ELF_FORTIFY(binary) -> bool:
# bitcoin-util does not currently contain any fortified functions
if 'Bitcoin Core bitcoin-util utility version ' in binary.strings:
# bitcoin-util and elements-util do not currently contain any fortified functions
# (the utility binaries are intentionally kept minimal)
if any('bitcoin-util utility version' in s for s in binary.strings):
return True
chk_funcs = set()