We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 473ad1b commit cd27bf5Copy full SHA for cd27bf5
contrib/devtools/security-check.py
@@ -94,7 +94,7 @@ def check_ELF_RELRO(executable):
94
raise IOError('Error opening file')
95
for line in stdout.split('\n'):
96
tokens = line.split()
97
- if len(tokens)>1 and tokens[1] == '(BIND_NOW)':
+ if len(tokens)>1 and tokens[1] == '(BIND_NOW)' or (len(tokens)>2 and tokens[1] == '(FLAGS)' and 'BIND_NOW' in tokens[2]):
98
have_bindnow = True
99
return have_gnu_relro and have_bindnow
100
0 commit comments