#NEWLINE# def __translate( self , asm_instrs ) : #NEWLINE# #INDENT# instr_container = ReilContainer ( ) #NEWLINE# asm_instr_last = None #NEWLINE# instr_seq_prev = None #NEWLINE# for asm_instr in asm_instrs : #NEWLINE# #INDENT# instr_seq = ReilSequence ( ) #NEWLINE# for reil_instr in self . arm_translator . translate ( asm_instr ) : #NEWLINE# #INDENT# instr_seq . append ( reil_instr ) #NEWLINE# #UNINDENT# if instr_seq_prev : #NEWLINE# #INDENT# instr_seq_prev . next_sequence_address = instr_seq . address #NEWLINE# #UNINDENT# instr_container . add ( instr_seq ) #NEWLINE# instr_seq_prev = instr_seq #NEWLINE# #UNINDENT# if instr_seq_prev : #NEWLINE# #INDENT# if asm_instr_last : #NEWLINE# #INDENT# instr_seq_prev . next_sequence_address = ( ( asm_instr_last . address + asm_instr_last . size ) << 8 ) #NEWLINE# #UNINDENT# #UNINDENT# return instr_container