diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2015-01-26 19:52:07 +0100 |
|---|---|---|
| committer | serpilliere <serpilliere@users.noreply.github.com> | 2015-01-26 19:52:07 +0100 |
| commit | a3900fe1a46b585771a576478ce47bc94e35537f (patch) | |
| tree | e06802c76e800e8c57aa8d1a903fd90eb440854b /example | |
| parent | 9ce67b459cc8946c81181ab22030786450b8b0c5 (diff) | |
| parent | cc48c135915bd71ba23bd895fe6f2d57e61a0995 (diff) | |
| download | miasm-a3900fe1a46b585771a576478ce47bc94e35537f.tar.gz miasm-a3900fe1a46b585771a576478ce47bc94e35537f.zip | |
Merge pull request #49 from commial/refactor-asmbloc
Refactor asmbloc
Diffstat (limited to 'example')
| -rw-r--r-- | example/asm/simple.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/asm/simple.py b/example/asm/simple.py index 1ae3ae05..8664672d 100644 --- a/example/asm/simple.py +++ b/example/asm/simple.py @@ -30,7 +30,7 @@ symbol_pool.set_offset(symbol_pool.getby_name("main"), 0x0) resolved_b, patches = asmbloc.asm_resolve_final(mn_x86, blocs[0], symbol_pool) # Show resolved blocs -for bloc, dummy in resolved_b: +for bloc in resolved_b: print bloc # Print offset -> bytes |