about summary refs log tree commit diff stats
path: root/test/arch/mips32/unit/asm_test.py
diff options
context:
space:
mode:
authorFlorent <florent.monjalet@gmail.com>2015-10-30 08:56:49 +0100
committerFlorent <florent.monjalet@gmail.com>2015-10-30 08:56:49 +0100
commit9d23ef12b2c41c1c826e1108dd11e651d12a473e (patch)
treeed0783670ca655d9b50ac2c739d9ef19e3599794 /test/arch/mips32/unit/asm_test.py
parentfefb609f7ed8267815e3ab4b7467a8fada7040b8 (diff)
parent7bd9f72a3c3c48c246a6d4917bcfaa0075fd0860 (diff)
downloadmiasm-9d23ef12b2c41c1c826e1108dd11e651d12a473e.tar.gz
miasm-9d23ef12b2c41c1c826e1108dd11e651d12a473e.zip
Merge pull request #245 from serpilliere/fix_parse_asm
Fix parse asm
Diffstat (limited to 'test/arch/mips32/unit/asm_test.py')
-rw-r--r--test/arch/mips32/unit/asm_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/arch/mips32/unit/asm_test.py b/test/arch/mips32/unit/asm_test.py
index b6cb7b2d..a00d0842 100644
--- a/test/arch/mips32/unit/asm_test.py
+++ b/test/arch/mips32/unit/asm_test.py
@@ -41,7 +41,7 @@ class Asm_Test(object):
         # fix shellcode addr
         symbol_pool.set_offset(symbol_pool.getby_name("main"), 0x0)
         s = StrPatchwork()
-        patches = asmbloc.asm_resolve_final(mn_mips32, blocs[0], symbol_pool)
+        patches = asmbloc.asm_resolve_final(mn_mips32, blocs, symbol_pool)
         for offset, raw in patches.items():
             s[offset] = raw