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/asm/simple.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'example/asm/simple.py') diff --git a/example/asm/simple.py b/example/asm/simple.py index 5480e2f5..e46faa48 100644 --- a/example/asm/simple.py +++ b/example/asm/simple.py @@ -1,3 +1,4 @@ +from __future__ import print_function from pdb import pm from pprint import pprint @@ -29,7 +30,7 @@ patches = asmblock.asm_resolve_final(mn_x86, asmcfg, loc_db) # Show resolved asmcfg for block in asmcfg.blocks: - print block + print(block) # Print offset -> bytes pprint(patches) -- cgit 1.4.1