Skip to content

Commit 6ca5efa

Browse files
committed
script rename control flow check to MACHO specific
1 parent 300124d commit 6ca5efa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/devtools/security-check.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def check_NX(binary) -> bool:
172172
'''
173173
return binary.has_nx
174174

175-
def check_control_flow(binary) -> bool:
175+
def check_MACHO_control_flow(binary) -> bool:
176176
'''
177177
Check for control flow instrumentation
178178
'''
@@ -205,7 +205,7 @@ def check_control_flow(binary) -> bool:
205205
('NX', check_NX),
206206
('LAZY_BINDINGS', check_MACHO_LAZY_BINDINGS),
207207
('Canary', check_MACHO_Canary),
208-
('CONTROL_FLOW', check_control_flow),
208+
('CONTROL_FLOW', check_MACHO_control_flow),
209209
]
210210

211211
CHECKS = {

0 commit comments

Comments
 (0)