about summary refs log tree commit diff stats
path: root/miasm2/core/asmblock.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2017-05-08 14:41:25 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2017-05-24 12:23:53 +0200
commitded504718e83ffcc63ef42cc27159ef998ed211b (patch)
treefca227a99c5d5d8ea7aa321ccef9cf62f701eabb /miasm2/core/asmblock.py
parentc748d742977a81436756bb4d3e81d467b729e419 (diff)
downloadmiasm-ded504718e83ffcc63ef42cc27159ef998ed211b.tar.gz
miasm-ded504718e83ffcc63ef42cc27159ef998ed211b.zip
Example: clean graph_ir IDA
Diffstat (limited to 'miasm2/core/asmblock.py')
-rw-r--r--miasm2/core/asmblock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/core/asmblock.py b/miasm2/core/asmblock.py
index 72f259f9..965b22c4 100644
--- a/miasm2/core/asmblock.py
+++ b/miasm2/core/asmblock.py
@@ -45,7 +45,7 @@ class AsmLabel(object):
         self.name = name
         self.attrib = None
         if offset is None:
-            self.offset = offset
+            self.offset = None
         else:
             self.offset = int(offset)