about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2017-04-05 15:55:46 +0200
committerAjax <commial@gmail.com>2017-04-06 13:47:38 +0200
commitdc3a57fd1f0df922056edf087a9ac94c0005cd15 (patch)
treedbb64eacd5b5135dc7863a2111285c4c9c67cb73
parentf85d5e8f261db7b4c0fc519df056561ad9e45418 (diff)
downloadmiasm-dc3a57fd1f0df922056edf087a9ac94c0005cd15.tar.gz
miasm-dc3a57fd1f0df922056edf087a9ac94c0005cd15.zip
MD5_arm: run from the very beginning
-rwxr-xr-xexample/jitter/arm.py3
-rwxr-xr-xtest/test_all.py2
2 files changed, 1 insertions, 4 deletions
diff --git a/example/jitter/arm.py b/example/jitter/arm.py
index eac6c0e6..e475abeb 100755
--- a/example/jitter/arm.py
+++ b/example/jitter/arm.py
@@ -24,8 +24,5 @@ else:
 if options.verbose is True:
     print sb.jitter.vm
 
-if options.address is None:
-    raise ValueError('Invalid address')
-
 # Run the code
 sb.run()
diff --git a/test/test_all.py b/test/test_all.py
index 237f13c1..c4463339 100755
--- a/test/test_all.py
+++ b/test/test_all.py
@@ -614,7 +614,7 @@ for jitter in ExampleJitter.jitter_engines:
                              tags=tags.get(jitter, []))
 
 for script, dep in [(["x86_32.py", Example.get_sample("x86_32_sc.bin")], []),
-                    (["arm.py", Example.get_sample("md5_arm"), "-a", "A684"],
+                    (["arm.py", Example.get_sample("md5_arm"), "--mimic-env"],
                      []),
                     (["sandbox_elf_aarch64l.py", Example.get_sample("md5_aarch64l"), "-a", "0x400A00"],
                      []),