about summary refs log tree commit diff stats
path: root/test/arch/x86/arch.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-06-22 10:28:38 +0200
committerGitHub <noreply@github.com>2018-06-22 10:28:38 +0200
commit9f040a7013f471ecb96c5f64e5ab3f139d1a09c7 (patch)
treef4f21334788d6c153ce08cead01e614349cdf700 /test/arch/x86/arch.py
parent1c64ca68ff3ad2985d2c89b4b8a8e13ec282c0e1 (diff)
parent189d72985236b0b35586669e7d9309951ffdccb6 (diff)
downloadmiasm-9f040a7013f471ecb96c5f64e5ab3f139d1a09c7.tar.gz
miasm-9f040a7013f471ecb96c5f64e5ab3f139d1a09c7.zip
Merge branch 'master' into patch-2
Diffstat (limited to 'test/arch/x86/arch.py')
-rw-r--r--test/arch/x86/arch.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/arch/x86/arch.py b/test/arch/x86/arch.py
index 05b31815..1865ceba 100644
--- a/test/arch/x86/arch.py
+++ b/test/arch/x86/arch.py
@@ -3062,17 +3062,13 @@ for mode, s, l, in reg_tests:
     print s
     print mn
     assert(str(mn).strip() == s)
-    # print hex(b)
-    # print [str(x.get()) for x in mn.args]
     print 'fromstring', repr(s)
     l = mn_x86.fromstring(s, symbol_pool, mode)
-    # print l
     print 'str args', [(str(x), x.size) for x in l.args]
     assert(str(l).strip(' ') == s)
     a = mn_x86.asm(l)
     print 'asm result', [x for x in a]
     print repr(b)
-    # test_file[mode[0]].write(b)
 
     for x in a:
         print "BYTES", repr(x)
@@ -3086,7 +3082,6 @@ for mode, s, l, in reg_tests:
         assert(str(rl).strip(' ') == s)
     print repr(b), a
     assert(b in a)
-    # print mn.args
 print 'TEST time', time.time() - ts
 
 
@@ -3118,9 +3113,7 @@ def profile_dis(o):
     print 'instr per sec:', instr_num / (time.time() - ts)
 
 import cProfile
-# cProfile.run(r'mn_x86.dis("\x81\x54\x18\xfe\x44\x33\x22\x11", m32)')
 cProfile.run('profile_dis(o)')
-# profile_dis(o)
 
 # Test instruction representation with prefix
 instr_bytes = '\x65\xc7\x00\x09\x00\x00\x00'