mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
skip elements-util test for _FORTIFY_SOURCE usage in release binaries
This commit is contained in:
parent
4b1206f298
commit
16ad3fd0b8
1 changed files with 3 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue