aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-12-22 11:18:18 +0800
committerfanquake <fanquake@gmail.com>2022-01-04 22:45:44 +0800
commit6ca5efa8ed1ed9d5978bed0baf3c63dc2d406ec5 (patch)
treeb59b5790f7e125885ef3c2561d37beefbe947ba7 /contrib/devtools
parent300124dedfff411bcb9ef6572f35e3b581ec53a2 (diff)
script rename control flow check to MACHO specific
Diffstat (limited to 'contrib/devtools')
-rwxr-xr-xcontrib/devtools/security-check.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/devtools/security-check.py b/contrib/devtools/security-check.py
index 137fe377da..97192a21f6 100755
--- a/contrib/devtools/security-check.py
+++ b/contrib/devtools/security-check.py
@@ -172,7 +172,7 @@ def check_NX(binary) -> bool:
'''
return binary.has_nx
-def check_control_flow(binary) -> bool:
+def check_MACHO_control_flow(binary) -> bool:
'''
Check for control flow instrumentation
'''
@@ -205,7 +205,7 @@ BASE_MACHO = [
('NX', check_NX),
('LAZY_BINDINGS', check_MACHO_LAZY_BINDINGS),
('Canary', check_MACHO_Canary),
- ('CONTROL_FLOW', check_control_flow),
+ ('CONTROL_FLOW', check_MACHO_control_flow),
]
CHECKS = {