contrib/devtools/security-check.py
def check_MACHO_LAZY_BINDINGS(executable) -> bool:
    '''
    Check for no lazy bindings.
    We don't use or check for MH_BINDATLOAD. See #18295.
    '''
    stdout = run_command([OTOOL_CMD, '-l', executable])

    for line in stdout.splitlines():
        tokens = line.split()
        if 'lazy_bind_off' in tokens or 'lazy_bind_size' in tokens:
            if tokens[1] != '0':
                return False
    return True

    Check for no lazy bindings.
    We don't use or check for MH_BINDATLOAD. See #18295.
    
Check for no lazy bindings.
We don't use or check for MH_BINDATLOAD.
Check for no lazy bindings . We don ' t use or check for MH_BINDATLOAD .
def check_MACHO_LAZY_BINDINGS(executable) -> bool:
    stdout = run_command([OTOOL_CMD, '-l', executable])
    for line in stdout.splitlines():
        tokens = line.split()
        if 'lazy_bind_off' in tokens or 'lazy_bind_size' in tokens:
            if tokens[1] != '0':
                return False
    return True
def check_MACHO_LAZY_BINDINGS ( executable ) -> bool : stdout = run_command ( [ OTOOL_CMD , '-l' , executable ] ) for line in stdout . splitlines ( ) : tokens = line . split ( ) if 'lazy_bind_off' in tokens or 'lazy_bind_size' in tokens : if tokens [ 1 ] != '0' : return False return True
Check for no lazy bindings.
Check for no lazy bindings .
'''
    Check for no lazy bindings.
    We don't use or check for MH_BINDATLOAD. See #18295.
    '''
executable