From 455cfbe8b7aed7cb5be8e1b9aa1917a9f7d51821 Mon Sep 17 00:00:00 2001 From: Ajax Date: Mon, 25 Jan 2016 11:05:29 +0100 Subject: BasicBlocks: update examples with the new API --- example/expression/solve_condition_stp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/expression/solve_condition_stp.py') diff --git a/example/expression/solve_condition_stp.py b/example/expression/solve_condition_stp.py index 034a115f..93c17018 100644 --- a/example/expression/solve_condition_stp.py +++ b/example/expression/solve_condition_stp.py @@ -168,7 +168,7 @@ if __name__ == '__main__': ''') - b = blocs[0] + b = list(blocs)[0] print b # add fake address and len to parsed instructions for i, l in enumerate(b.lines): -- cgit 1.4.1