about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2018-07-16 15:41:20 +0200
committerAjax <commial@gmail.com>2018-07-16 17:04:34 +0200
commit4c0c3cce4f4e36190a4adbeb2d231610ef4828fd (patch)
treee2d6d1c0fe5089a4948f96632e8a478cf0ca0fd3
parent35074d6565d53f6f655af1a101e51ace1015290b (diff)
downloadmiasm-4c0c3cce4f4e36190a4adbeb2d231610ef4828fd.tar.gz
miasm-4c0c3cce4f4e36190a4adbeb2d231610ef4828fd.zip
AsmBlock: avoid underterministic print for next/to
-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 c8af4056..2f16543f 100644
--- a/miasm2/core/asmblock.py
+++ b/miasm2/core/asmblock.py
@@ -153,7 +153,7 @@ class AsmBlock(object):
                     lbls.append("Unknown? ")
                 else:
                     lbls.append(dst.to_string(loc_db) + " ")
-            lbls = '\t'.join(lbls)
+            lbls = '\t'.join(sorted(lbls))
             out.append(lbls)
         return '\n'.join(out)