contrib/devtools/security-check.py
def check_PE_RELOC_SECTION(executable) -> bool:
    '''Check for a reloc section. This is required for functional ASLR.'''
    stdout = run_command([OBJDUMP_CMD, '-h',  executable])

    for line in stdout.splitlines():
        if '.reloc' in line:
            return True
    return False
Check for a reloc section. This is required for functional ASLR.
Check for a reloc section. This is required for functional ASLR.
Check for a reloc section . This is required for functional ASLR .
def check_PE_RELOC_SECTION(executable) -> bool:
    stdout = run_command([OBJDUMP_CMD, '-h',  executable])
    for line in stdout.splitlines():
        if '.reloc' in line:
            return True
    return False
def check_PE_RELOC_SECTION ( executable ) -> bool : stdout = run_command ( [ OBJDUMP_CMD , '-h' , executable ] ) for line in stdout . splitlines ( ) : if '.reloc' in line : return True return False
Check for a reloc section.
Check for a reloc section .
'''Check for a reloc section. This is required for functional ASLR.'''
executable