Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions loader/src/ptracer/monitor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,18 @@ class AppMonitor {

private:
void handleChildEvent(int pid, int &status);
void handleInitEvent(int pid, int &status);
void handleParentEvent(int pid, int &status);
void handleNewProcess(int pid);
void handleTracedProcess(int pid, int &status);
void handleExecEvent(int pid, int &status);

// returns true if process was promoted/injected, false if it should be detached
bool handleExecEvent(int pid, int &status);

AppMonitor &monitor_;
int signal_fd_ = -1;
int status_ = 0;
std::set<pid_t> process_;
std::set<pid_t> stub_processes_;
};

void set_tracing_state(TracingState state);
Expand Down
Loading
Loading