From 02bbb30efea4980c9d133947cbbf69fb599071ad Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Mon, 25 Feb 2019 11:09:54 +0100 Subject: Support python2/python3 --- example/symbol_exec/single_instr.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'example/symbol_exec/single_instr.py') diff --git a/example/symbol_exec/single_instr.py b/example/symbol_exec/single_instr.py index 3b27a814..bdc65360 100644 --- a/example/symbol_exec/single_instr.py +++ b/example/symbol_exec/single_instr.py @@ -1,3 +1,4 @@ +from __future__ import print_function # Minimalist Symbol Exec example from miasm2.analysis.binary import Container from miasm2.analysis.machine import Machine @@ -32,9 +33,9 @@ symb = SymbolicExecutionEngine(ira) cur_addr = symb.run_at(ircfg, START_ADDR) # Modified elements -print 'Modified registers:' +print('Modified registers:') symb.dump(mems=False) -print 'Modified memory (should be empty):' +print('Modified memory (should be empty):') symb.dump(ids=False) # Check final status -- cgit 1.4.1