contrib/devtools/security-check.py
def check_ELF_Canary(executable) -> bool:
    '''
    Check for use of stack canary
    '''
    elf = pixie.load(executable)
    ok = False
    for symbol in elf.dyn_symbols:
        if symbol.name == b'__stack_chk_fail':
            ok = True
    return ok

    Check for use of stack canary
    
Check for use of stack canary
Check for use of stack canary
def check_ELF_Canary(executable) -> bool:
    elf = pixie.load(executable)
    ok = False
    for symbol in elf.dyn_symbols:
        if symbol.name == b'__stack_chk_fail':
            ok = True
    return ok
def check_ELF_Canary ( executable ) -> bool : elf = pixie . load ( executable ) ok = False for symbol in elf . dyn_symbols : if symbol . name == b'__stack_chk_fail' : ok = True return ok
Check for use of stack canary
Check for use of stack canary
'''
    Check for use of stack canary
    '''
executable