regress: make some tests less noisy

This commit is contained in:
Nguyen Anh Quynh 2016-07-09 10:50:21 +08:00
parent 117a318188
commit 0a4ca0d365
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ class Init(regress.RegressTest):
def init_unicorn(self, ip, sp, counter):
global mu
print "[+] Emulating IP: %x SP: %x - Counter: %x" % (ip, sp, counter)
#print "[+] Emulating IP: %x SP: %x - Counter: %x" % (ip, sp, counter)
mu = Uc(UC_ARCH_X86, UC_MODE_64)
mu.mem_map(0x1000000, 2 * 1024 * 1024)
mu.mem_write(0x1000000, "\x90")

View File

@ -50,7 +50,7 @@ class Emulator:
class Init(regress.RegressTest):
def init_unicorn(self, ip, sp, counter):
print "[+] Emulating IP: %x SP: %x - Counter: %x" % (ip, sp, counter)
#print "[+] Emulating IP: %x SP: %x - Counter: %x" % (ip, sp, counter)
E = Emulator(ip, sp)
E.write_data(ip, "\x90")
E.write_data(sp, self.generate_value(counter))