MCPcopy Create free account
hub / github.com/chromium/crashpad / SendMessageToClient

Function SendMessageToClient

handler/linux/exception_handler_server.cc:113–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113bool SendMessageToClient(
114 int client_sock,
115 ExceptionHandlerProtocol::ServerToClientMessage::Type type) {
116 ExceptionHandlerProtocol::ServerToClientMessage message = {};
117 message.type = type;
118 if (type ==
119 ExceptionHandlerProtocol::ServerToClientMessage::kTypeSetPtracer) {
120 message.pid = getpid();
121 }
122 return LoggingWriteFile(client_sock, &message, sizeof(message));
123}
124
125int tgkill(pid_t pid, pid_t tid, int signo) {
126 return syscall(SYS_tgkill, pid, tid, signo);

Callers 3

ChooseStrategyMethod · 0.85
TryForkingBrokerMethod · 0.85

Calls 1

LoggingWriteFileFunction · 0.85

Tested by

no test coverage detected