about summary refs log tree commit diff stats
path: root/example/test_jit_arm.py
diff options
context:
space:
mode:
authorCamille Mougey <camille.mougey@cea.fr>2015-01-07 17:17:42 +0100
committerCamille Mougey <camille.mougey@cea.fr>2015-01-23 17:24:41 +0100
commitc0a74599627ed01c6e799d41905d449ba44b098b (patch)
treefbde712ee7914ffce87416efbba9e5b1d16008d8 /example/test_jit_arm.py
parent4a3880c62638ca5e3f1ea74bd2f29b186fb109a6 (diff)
downloadmiasm-c0a74599627ed01c6e799d41905d449ba44b098b.tar.gz
miasm-c0a74599627ed01c6e799d41905d449ba44b098b.zip
Example: Rename test_jit_* to jit_*
Diffstat (limited to 'example/test_jit_arm.py')
-rw-r--r--example/test_jit_arm.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/example/test_jit_arm.py b/example/test_jit_arm.py
deleted file mode 100644
index 2699c345..00000000
--- a/example/test_jit_arm.py
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-import logging
-from pdb import pm
-
-from miasm2.analysis.sandbox import Sandbox_Linux_arml
-
-# Get arguments
-parser = Sandbox_Linux_arml.parser(description="""Sandbox an elf binary with arm
- engine (ex: test_jit_arm.py samples/md5_arm -a A684)""")
-parser.add_argument("filename", help="ELF Filename")
-parser.add_argument('-v', "--verbose", help="verbose mode", action="store_true")
-options = parser.parse_args()
-
-# Prepare the sandbox
-sb = Sandbox_Linux_arml(options.filename, options, globals())
-
-# Handle 'verbose' option
-if options.verbose is True:
-    logging.basicConfig(level=logging.INFO)
-else:
-    logging.basicConfig(level=logging.WARNING)
-
-if options.verbose is True:
-    sb.jitter.vm.dump_memory_page_pool()
-
-if options.address is None:
-    raise ValueError('Invalid address')
-
-# Run the code
-sb.run()