From 853449ea871a150b92b66928eecf30476674168d Mon Sep 17 00:00:00 2001 From: Galen Williamson Date: Mon, 6 Dec 2021 19:10:26 -0500 Subject: fixed python/examples/asm_to_llil_view.py for API v3.0 --- python/examples/asm_to_llil_view.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'python/examples') diff --git a/python/examples/asm_to_llil_view.py b/python/examples/asm_to_llil_view.py index bd9d4e56..eee4f85f 100644 --- a/python/examples/asm_to_llil_view.py +++ b/python/examples/asm_to_llil_view.py @@ -91,13 +91,13 @@ class DisassemblyAndLowLevelILGraph(FlowGraph): for i in block: # Display assembly instructions at or before the current IL instruction while len(asm_instrs) > 0 and i.address >= asm_instrs[0]: - asm_lines, length = asm_renderer.get_disassembly_text(asm_instrs[0]) - lines += asm_lines + for asm_lines, length in asm_renderer.get_disassembly_text(asm_instrs[0]): + lines.append(asm_lines) asm_instrs = asm_instrs[1:] # Display IL instruction - il_lines, length = il_renderer.get_disassembly_text(i.instr_index) - lines += il_lines + for il_lines, length in il_renderer.get_disassembly_text(i.instr_index): + lines.append(il_lines) # Go through lines and add addresses to them for line in lines: -- cgit v1.3.1