uroboros-diversification/src/instrumentation/gfree/alignmentenforce.py
def enforce_alignment():
    """
    Apply alignment enforcement inserting sleds in assembler source code
    """
    print colored('6: ALIGNMENT ENFORCEMENT', 'green')
    npass = 0
    fixed = set()
    while npass < config.gfree_maxalignmentpass:
        sys.stdout.write('\r     Passes: %d' % (npass+1))
        sys.stdout.flush()
        compile_process.main(debug=True)
        if not sled_insertion(fixed): break
        npass += 1
    sys.stdout.write('\n')

    Apply alignment enforcement inserting sleds in assembler source code
    
Apply alignment enforcement inserting sleds in assembler source code
Apply alignment enforcement inserting sleds in assembler source code
def enforce_alignment():
    print colored('6: ALIGNMENT ENFORCEMENT', 'green')
    npass = 0
    fixed = set()
    while npass < config.gfree_maxalignmentpass:
        sys.stdout.write('\r     Passes: %d' % (npass+1))
        sys.stdout.flush()
        compile_process.main(debug=True)
        if not sled_insertion(fixed): break
        npass += 1
    sys.stdout.write('\n')
def enforce_alignment ( ) : print colored ( '6: ALIGNMENT ENFORCEMENT' , 'green' ) npass = 0 fixed = set ( ) while npass < config . gfree_maxalignmentpass : sys . stdout . write ( '\r     Passes: %d' % ( npass + 1 ) ) sys . stdout . flush ( ) compile_process . main ( debug = True ) if not sled_insertion ( fixed ) : break npass += 1 sys . stdout . write ( '\n' )
Apply alignment enforcement inserting sleds in assembler source code
Apply alignment enforcement inserting sleds in assembler source code
"""
    Apply alignment enforcement inserting sleds in assembler source code
    """