MCPcopy Create free account
hub / github.com/MJx0/KittyMemoryEx / cont

Method cont

KittyMemoryEx/KittyTrace.cpp:140–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140bool 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
155pid_t KittyTraceMgr::wait(int *status, int options, int timeout_ms) const
156{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected