diff options
| author | Ajax <commial@gmail.com> | 2016-01-25 11:05:29 +0100 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2016-01-26 17:09:18 +0100 |
| commit | 455cfbe8b7aed7cb5be8e1b9aa1917a9f7d51821 (patch) | |
| tree | 58c354de7afe7b4b0ca6af923616941ba9c2e79e /example/expression/solve_condition_stp.py | |
| parent | 01b1f292c84d4cbda38b6c308fc7b1af52595cec (diff) | |
| download | miasm-455cfbe8b7aed7cb5be8e1b9aa1917a9f7d51821.tar.gz miasm-455cfbe8b7aed7cb5be8e1b9aa1917a9f7d51821.zip | |
BasicBlocks: update examples with the new API
Diffstat (limited to 'example/expression/solve_condition_stp.py')
| -rw-r--r-- | example/expression/solve_condition_stp.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |