about summary refs log tree commit diff stats
path: root/miasm2/ir/ir.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/ir/ir.py
parentc748d742977a81436756bb4d3e81d467b729e419 (diff)
downloadmiasm-ded504718e83ffcc63ef42cc27159ef998ed211b.tar.gz
miasm-ded504718e83ffcc63ef42cc27159ef998ed211b.zip
Example: clean graph_ir IDA
Diffstat (limited to '')
-rw-r--r--miasm2/ir/ir.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/ir/ir.py b/miasm2/ir/ir.py
index 986e5d56..2509e901 100644
--- a/miasm2/ir/ir.py
+++ b/miasm2/ir/ir.py
@@ -297,13 +297,13 @@ class IRBlock(object):
 
     @property
     def dst(self):
-        """Find the IRDst affectation and update dst, dst_linenb accordingly"""
+        """Return the value of IRDst for the IRBlock"""
         if self.is_dst_set():
             return self._dst
         return self.cache_dst()
 
     def set_dst(self, value):
-        """Generate a new IRBlock with a dst fixed to @value"""
+        """Generate a new IRBlock with a dst (IRBlock) fixed to @value"""
         irs = []
         dst_found = False
         for assignblk in self.irs: