Home
last modified time | relevance | path

Searched refs:siginfo_t (Results 1 – 25 of 29) sorted by relevance

12

/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
Dutility.h89 bool signal_has_sender(const siginfo_t*, pid_t caller_pid);
90 bool signal_has_si_addr(const siginfo_t*);
91 void get_signal_sender(char* buf, size_t n, const siginfo_t*);
92 const char* get_signame(const siginfo_t*);
93 const char* get_sigcode(const siginfo_t*);
Dtypes.h41 siginfo_t* siginfo = nullptr;
Dtombstone.h60 siginfo_t* siginfo, ucontext_t* ucontext);
/system/memory/libmemunreachable/
DScopedSignalHandler.h34 using Fn = std::function<void(ScopedSignalHandler&, int, siginfo_t*, void*)>;
53 SignalFn([=](int signal, siginfo_t* si, void* uctx) { f(*this, signal, si, uctx); }); in install()
56 act.sa_sigaction = [](int signal, siginfo_t* si, void* uctx) { in install()
85 using SignalFn = std::function<void(int, siginfo_t*, void*)>;
DHeapWalker.h67 SIGSEGV, [=](ScopedSignalHandler& handler, int signal, siginfo_t* siginfo, void* uctx) {
71 SIGBUS, [=](ScopedSignalHandler& handler, int signal, siginfo_t* siginfo, void* uctx) {
101 void HandleSegFault(ScopedSignalHandler&, int, siginfo_t*, void*);
DHeapWalker.cpp207 void HeapWalker::HandleSegFault(ScopedSignalHandler& handler, int signal, siginfo_t* si, in HandleSegFault()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp86 siginfo_t* siginfo, void* abort_message) { in debuggerd_fallback_tombstone()
156 static void trace_handler(siginfo_t* info, ucontext_t* ucontext) { in trace_handler()
236 siginfo_t siginfo = {}; in trace_handler()
274 static void crash_handler(siginfo_t* info, ucontext_t* ucontext, void* abort_message) { in crash_handler()
307 extern "C" void debuggerd_fallback_handler(siginfo_t* info, ucontext_t* ucontext, in debuggerd_fallback_handler()
Ddebuggerd_fallback_nop.cpp17 extern "C" void debuggerd_fallback_handler(struct siginfo_t*, struct ucontext_t*, void*) { in debuggerd_fallback_handler() argument
Ddebuggerd_handler.cpp136 extern "C" void debuggerd_fallback_handler(siginfo_t*, ucontext_t*, void*);
190 static void log_signal_summary(const siginfo_t* si) { in log_signal_summary()
320 siginfo_t* siginfo;
372 {.iov_base = thread_info->siginfo, .iov_len = sizeof(siginfo_t)}, in debuggerd_dispatch_pseudothread()
376 constexpr size_t kHeaderSize = sizeof(version) + sizeof(siginfo_t) + sizeof(ucontext_t); in debuggerd_dispatch_pseudothread()
508 static void resend_signal(siginfo_t* info) { in resend_signal()
526 static void debuggerd_signal_handler(int signal_number, siginfo_t* info, void* context) { in debuggerd_signal_handler()
767 bool debuggerd_handle_signal(int signal_number, siginfo_t* info, void* context) { in debuggerd_handle_signal()
/system/core/debuggerd/libdebuggerd/
Dutility.cpp266 bool signal_has_si_addr(const siginfo_t* si) { in signal_has_si_addr()
285 bool signal_has_sender(const siginfo_t* si, pid_t caller_pid) { in signal_has_sender()
289 void get_signal_sender(char* buf, size_t n, const siginfo_t* si) { in get_signal_sender()
293 const char* get_signame(const siginfo_t* si) { in get_signame()
310 const char* get_sigcode(const siginfo_t* si) { in get_sigcode()
Dtombstone.cpp55 siginfo_t* siginfo, ucontext_t* ucontext) { in engrave_tombstone_ucontext()
/system/core/init/
Dservice.h95 void Reap(const siginfo_t& siginfo);
103 void AddReapCallback(std::function<void(const siginfo_t& siginfo)> callback) { in AddReapCallback()
224 std::vector<std::function<void(const siginfo_t& siginfo)>> reap_callbacks_;
Dsigchld_handler.cpp48 siginfo_t siginfo = {}; in ReapOneProcess()
/system/unwinding/libunwindstack/
DThreadUnwinder.cpp39 static void SignalLogOnly(int, siginfo_t*, void*) { in SignalLogOnly() argument
46 static void SignalHandler(int, siginfo_t*, void* sigcontext) { in SignalHandler() argument
/system/libziparchive/incfs_support/
Dsignal_handling.cpp54 void SignalHandler::handler(int sig, siginfo_t* info, void* ucontext) { in handler()
/system/core/debuggerd/
Dprotocol.h89 siginfo_t siginfo;
Dcrash_dump.cpp281 static void ReadCrashInfo(unique_fd& fd, siginfo_t* siginfo, in ReadCrashInfo()
486 siginfo_t siginfo; in main()
/system/core/debuggerd/include/debuggerd/
Dhandler.h68 bool debuggerd_handle_signal(int signal_number, siginfo_t* info, void* context);
/system/unwinding/libunwindstack/tools/
Dunwind.cpp49 siginfo_t si; in Attach()
/system/libziparchive/incfs_support/include/incfs_support/
Dsignal_handling.h189 static void handler(int sig, siginfo_t* info, void* ucontext);
/system/unwinding/libunwindstack/utils/
DPidUtils.cpp48 siginfo_t si; in Quiesce()
/system/update_engine/common/
Dsubprocess.h143 void ChildExitedCallback(const siginfo_t& info);
Dsubprocess.cc137 void Subprocess::ChildExitedCallback(const siginfo_t& info) { in ChildExitedCallback()
/system/memory/libmemunreachable/tests/
DThreadCapture_test.cpp203 siginfo_t info{}; in Fork()
/system/unwinding/libunwindstack/tests/
DUnwindTest.cpp80 static void SignalHandler(int, siginfo_t*, void* sigcontext) { in SignalHandler() argument
103 static void SignalCallerHandler(int, siginfo_t*, void*) { in SignalCallerHandler() argument

12