script rename control flow check to MACHO specific

This commit is contained in:
fanquake 2021-12-22 11:18:18 +08:00
parent 300124dedf
commit 6ca5efa8ed
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -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 = {