about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2020-10-08 17:47:32 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2020-10-08 17:47:52 +0200
commitd09ce00e9f4901a085a5539c5d3bb24a7f4e180a (patch)
treea4bb9708315f6c910e57a01f219a97456d6a4b12
parent49c6723550ff63cd475a25fce12723b1a339d841 (diff)
downloadmiasm-d09ce00e9f4901a085a5539c5d3bb24a7f4e180a.tar.gz
miasm-d09ce00e9f4901a085a5539c5d3bb24a7f4e180a.zip
Fix missing IRBlock background color
-rw-r--r--miasm/ir/ir.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/ir/ir.py b/miasm/ir/ir.py
index 2e226306..aed5cb65 100644
--- a/miasm/ir/ir.py
+++ b/miasm/ir/ir.py
@@ -539,7 +539,7 @@ class IRCFG(DiGraph):
             }
         )
         if node not in self._blocks:
-            yield [self.DotCellDescription(text="NOT PRESENT", attr={})]
+            yield [self.DotCellDescription(text="NOT PRESENT", attr={'bgcolor': 'red'})]
             return
         for i, assignblk in enumerate(self._blocks[node]):
             for dst, src in viewitems(assignblk):