diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2015-02-23 17:58:15 +0100 |
|---|---|---|
| committer | Camille Mougey <camille.mougey@cea.fr> | 2015-02-23 17:58:15 +0100 |
| commit | 686c605e62a951302088efc977c58d40bd16f25b (patch) | |
| tree | c7bdf6e791b13b1a096c1517778728b194621f1d /miasm2/jitter/jitcore.py | |
| parent | beff35f6f0293cba767ace678bb21c237f0dde53 (diff) | |
| download | miasm-686c605e62a951302088efc977c58d40bd16f25b.tar.gz miasm-686c605e62a951302088efc977c58d40bd16f25b.zip | |
JitCore: Jitcore is an abstract class
Diffstat (limited to 'miasm2/jitter/jitcore.py')
| -rw-r--r-- | miasm2/jitter/jitcore.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/jitter/jitcore.py b/miasm2/jitter/jitcore.py index b5a6264a..e6f4ab02 100644 --- a/miasm2/jitter/jitcore.py +++ b/miasm2/jitter/jitcore.py @@ -71,7 +71,7 @@ class JitCore(object): def load(self, arch, attrib): "Initialise the Jitter according to arch and attrib" - raise Exception("DO NOT instanciate JitCore") + raise NotImplementedError("Abstract class") def get_bloc_min_max(self, cur_bloc): "Update cur_bloc to set min/max address" @@ -95,7 +95,7 @@ class JitCore(object): @irblocs: a gorup of irblocs """ - raise Exception("DO NOT instanciate JitCore") + raise NotImplementedError("Abstract class") def add_bloc(self, b): """Add a bloc to JiT and JiT it. |