mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
script rename control flow check to MACHO specific
This commit is contained in:
parent
300124dedf
commit
6ca5efa8ed
1 changed files with 2 additions and 2 deletions
|
@ -172,7 +172,7 @@ def check_NX(binary) -> bool:
|
||||||
'''
|
'''
|
||||||
return binary.has_nx
|
return binary.has_nx
|
||||||
|
|
||||||
def check_control_flow(binary) -> bool:
|
def check_MACHO_control_flow(binary) -> bool:
|
||||||
'''
|
'''
|
||||||
Check for control flow instrumentation
|
Check for control flow instrumentation
|
||||||
'''
|
'''
|
||||||
|
@ -205,7 +205,7 @@ BASE_MACHO = [
|
||||||
('NX', check_NX),
|
('NX', check_NX),
|
||||||
('LAZY_BINDINGS', check_MACHO_LAZY_BINDINGS),
|
('LAZY_BINDINGS', check_MACHO_LAZY_BINDINGS),
|
||||||
('Canary', check_MACHO_Canary),
|
('Canary', check_MACHO_Canary),
|
||||||
('CONTROL_FLOW', check_control_flow),
|
('CONTROL_FLOW', check_MACHO_control_flow),
|
||||||
]
|
]
|
||||||
|
|
||||||
CHECKS = {
|
CHECKS = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue