(ql: Qiling, path: int)
| 309 | return retval |
| 310 | |
| 311 | def test_syscall_unlink(ql: Qiling, path: int): |
| 312 | retval = syscall.ql_syscall_unlink(ql, path) |
| 313 | |
| 314 | vpath = ql.os.utils.read_cstring(path) |
| 315 | |
| 316 | if vpath == "test_syscall_unlink.txt": |
| 317 | hpath = ql.os.path.virtual_to_host_path(vpath) |
| 318 | |
| 319 | self.assertFalse(os.path.isfile(hpath)) |
| 320 | checklist.append('unlink') |
| 321 | |
| 322 | return retval |
| 323 | |
| 324 | def test_syscall_unlinkat(ql: Qiling, fd: int, path: int, flags: int): |
| 325 | retval = syscall.ql_syscall_unlinkat(ql, fd, path, flags) |
nothing calls this directly
no test coverage detected