mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-23 21:53:50 +00:00
regress: make some tests less noisy
This commit is contained in:
parent
117a318188
commit
0a4ca0d365
2 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue