diff options
| -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. |