about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFlorent Monjalet <florent.monjalet@gmail.com>2016-01-18 14:00:51 +0100
committerFlorent Monjalet <florent.monjalet@gmail.com>2016-01-18 14:05:37 +0100
commitf001fa5ee6a117fdae1765ba0a036142f1c49259 (patch)
tree7674097976ff35b3a4e1d1a497364e458249d359
parente6ec6f9d800584234301733340b171092aac3f9a (diff)
downloadmiasm-f001fa5ee6a117fdae1765ba0a036142f1c49259.tar.gz
miasm-f001fa5ee6a117fdae1765ba0a036142f1c49259.zip
Types: Void type repr
-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.