contrib/devtools/security-check.py
def check_MACHO_Canary(executable) -> bool:
    '''
    Check for use of stack canary
    '''
    stdout = run_command([OTOOL_CMD, '-Iv', executable])

    ok = False
    for line in stdout.splitlines():
        if '___stack_chk_fail' in line:
            ok = True
    return ok

    Check for use of stack canary
    
Check for use of stack canary
Check for use of stack canary
def check_MACHO_Canary(executable) -> bool:
    stdout = run_command([OTOOL_CMD, '-Iv', executable])
    ok = False
    for line in stdout.splitlines():
        if '___stack_chk_fail' in line:
            ok = True
    return ok
def check_MACHO_Canary ( executable ) -> bool : stdout = run_command ( [ OTOOL_CMD , '-Iv' , executable ] ) ok = False for line in stdout . splitlines ( ) : if '___stack_chk_fail' in line : ok = True return ok
Check for use of stack canary
Check for use of stack canary
'''
    Check for use of stack canary
    '''
executable