mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-25 21:45:31 +00:00
14 lines
314 B
Python
14 lines
314 B
Python
|
#!/usr/bin/env python
|
||
|
|
||
|
import regress
|
||
|
import unicorn
|
||
|
|
||
|
|
||
|
class SegfaultOnStop(regress.RegressTest):
|
||
|
def test(self):
|
||
|
unicorn.Uc(unicorn.UC_ARCH_X86, unicorn.UC_MODE_64).emu_stop()
|
||
|
self.assertTrue(True, "If not reached, then we have a crashing bug.")
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
regress.main()
|