Skip to content

Commit

Permalink
script rename control flow check to MACHO specific
Browse files Browse the repository at this point in the history
  • Loading branch information
fanquake committed Jan 4, 2022
1 parent 300124d commit 6ca5efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/devtools/security-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
'''
Expand Down Expand Up @@ -205,7 +205,7 @@ def check_control_flow(binary) -> bool:
('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 = {
Expand Down

0 comments on commit 6ca5efa

Please sign in to comment.