about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--miasm2/arch/x86/sem.py1
-rw-r--r--miasm2/core/types.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py
index ff27937f..fde5e5f0 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -2860,7 +2860,6 @@ def icebp(ir, instr):
     return e, []
 # XXX
 
-
 def l_int(ir, instr, a):
     e = []
     # XXX
diff --git a/miasm2/core/types.py b/miasm2/core/types.py
index bb7536e5..7a4dcae1 100644
--- a/miasm2/core/types.py
+++ b/miasm2/core/types.py
@@ -1093,6 +1093,9 @@ class Void(Type):
     def __hash__(self):
         return hash(self.__class__)
 
+    def __repr__(self):
+        return self.__class__.__name__
+
 
 class Self(Void):
     """Special marker to reference a type inside itself.