| 191 | } |
| 192 | |
| 193 | void |
| 194 | ProcessTracer::detachFromProcess() |
| 195 | { |
| 196 | for (auto& tid : d_tids) { |
| 197 | LOG(INFO) << "Detaching from thread " << tid; |
| 198 | ptrace(PTRACE_DETACH, tid, nullptr, nullptr); |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | ProcessTracer::~ProcessTracer() |
| 203 | { |