diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2014-09-05 11:30:05 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2014-09-05 11:30:05 +0200 |
| commit | 6e09df71a333bf87cd68c2d08ad068a3e501462d (patch) | |
| tree | 7d76e0626e61ef5a9f15c62358337674fb0095aa /example/test_jit_arm.py | |
| parent | e8d0fcf8d28d82a8f33138d044f335634ac3a30c (diff) | |
| download | focaccia-miasm-6e09df71a333bf87cd68c2d08ad068a3e501462d.tar.gz focaccia-miasm-6e09df71a333bf87cd68c2d08ad068a3e501462d.zip | |
Modify irbloc destination mecanism. Rework API in consequence.
Fat patch here: some API have changed. Each irbloc now affects a special "IRDst" register which is used to describe the destination irbloc. It allows simple description of architectures using delay slots. Architectures semantic and tcc/python jitter are modified in consequence. LLVM jitter is disabled for now, but should be patch soon.
Diffstat (limited to 'example/test_jit_arm.py')
| -rw-r--r-- | example/test_jit_arm.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/example/test_jit_arm.py b/example/test_jit_arm.py index e73f22db..df36ce16 100644 --- a/example/test_jit_arm.py +++ b/example/test_jit_arm.py @@ -6,6 +6,8 @@ from miasm2.analysis import debugging, gdbserver from miasm2.jitter.jitload import vm_load_elf, libimp, preload_elf from miasm2.analysis.machine import Machine +from pdb import pm + parser = ArgumentParser( description="""Sandbox an elf binary with arm engine (ex: test_jit_arm.py example/md5_arm A684)""") |