| 138 | } |
| 139 | |
| 140 | bool KittyTraceMgr::cont(int sig) |
| 141 | { |
| 142 | if (!_attached || _pid <= 0) |
| 143 | return false; |
| 144 | |
| 145 | errno = 0; |
| 146 | if (ptrace(PTRACE_CONT, _pid, nullptr, sig) == -1L) |
| 147 | { |
| 148 | KITTY_LOGE("PTRACE_CONT failed for pid %d. \"%s\".", _pid, strerror(errno)); |
| 149 | return false; |
| 150 | } |
| 151 | |
| 152 | return true; |
| 153 | } |
| 154 | |
| 155 | pid_t KittyTraceMgr::wait(int *status, int options, int timeout_ms) const |
| 156 | { |
nothing calls this directly
no outgoing calls
no test coverage detected