diff options
| -rw-r--r-- | miasm2/jitter/jitload.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/miasm2/jitter/jitload.py b/miasm2/jitter/jitload.py index 346746e8..7fe7e5ac 100644 --- a/miasm2/jitter/jitload.py +++ b/miasm2/jitter/jitload.py @@ -8,7 +8,6 @@ from miasm2.jitter.csts import * from miasm2.core.utils import * from miasm2.core.bin_stream import bin_stream_vm from miasm2.ir.ir2C import init_arch_C -from miasm2.jitter import VmMngr hnd = logging.StreamHandler() hnd.setFormatter(logging.Formatter("[%(levelname)s]: %(message)s")) @@ -34,6 +33,12 @@ try: except ImportError: log.error('cannot import jit python') +try: + from miasm2.jitter import VmMngr +except ImportError: + log.error('cannot import VmMngr') + + def named_arguments(func): """Function decorator to allow the use of .func_args_*() methods with either the number of arguments or the list of the argument |