diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2017-07-20 19:35:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-20 19:35:49 +0200 |
| commit | 4dfca940e75ad8af65b69dd9bab9ff503141984b (patch) | |
| tree | aad96a02c272397eae9fd7377ea86a713814516a /example/disasm/function.py | |
| parent | e45256e15c62aba315ab1e2db5697a14837f5827 (diff) | |
| parent | 4fcd0faa925d8d33db3622430548e932443d6f02 (diff) | |
| download | focaccia-miasm-4dfca940e75ad8af65b69dd9bab9ff503141984b.tar.gz focaccia-miasm-4dfca940e75ad8af65b69dd9bab9ff503141984b.zip | |
Merge pull request #579 from serpilliere/fix_get_bloc
Fix get bloc
Diffstat (limited to 'example/disasm/function.py')
| -rw-r--r-- | example/disasm/function.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/disasm/function.py b/example/disasm/function.py index 1fe1754f..89f65abb 100644 --- a/example/disasm/function.py +++ b/example/disasm/function.py @@ -8,7 +8,7 @@ from miasm2.arch.x86.disasm import dis_x86_32 # RET shellcode = '\xb8\xef\xbe7\x13\xb9\x04\x00\x00\x00\xc1\xc0\x08\xe2\xfb\xc3' mdis = dis_x86_32(shellcode) -blocks = mdis.dis_multibloc(0) +blocks = mdis.dis_multiblock(0) for block in blocks: print block |