| 18 | |
| 19 | |
| 20 | class MACHOTest(unittest.TestCase): |
| 21 | def test_macho_macos_x8664(self): |
| 22 | ql = Qiling([fr'{ROOTFS}/bin/x8664_hello'], ROOTFS, cputype=X86_CPU_MODEL.INTEL_HASWELL, verbose=QL_VERBOSE.DEBUG) |
| 23 | ql.run() |
| 24 | |
| 25 | def test_usercorn_x8664(self): |
| 26 | ql = Qiling([fr'{ROOTFS}/bin/x8664_hello_usercorn'], ROOTFS, cputype=X86_CPU_MODEL.INTEL_HASWELL, verbose=QL_VERBOSE.DEBUG) |
| 27 | ql.run() |
| 28 | |
| 29 | |
| 30 | if __name__ == "__main__": |
no outgoing calls