Home
last modified time | relevance | path

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

12

/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
Dutility.h88 bool signal_has_sender(const siginfo_t*, pid_t caller_pid);
89 bool signal_has_si_addr(const siginfo_t*);
90 void get_signal_sender(char* buf, size_t n, const siginfo_t*);
91 const char* get_signame(const siginfo_t*);
92 const char* get_sigcode(const siginfo_t*);
94 uintptr_t get_fault_address(const siginfo_t* siginfo, const ucontext_t* ucontext);
Dtypes.h36 siginfo_t* siginfo = nullptr;
Dtombstone.h52 void engrave_tombstone_ucontext(int tombstone_fd, uint64_t abort_msg_address, siginfo_t* siginfo,
/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/libbacktrace/
DBacktraceTest.h48 reinterpret_cast<void (*)(int, siginfo_t*, void*)>(dlsym(dl_handle_, "test_signal_action")); in SetUpTestCase()
74 static void (*test_signal_action_)(int, siginfo_t*, void*);
Dbacktrace_testlib.h26 void test_signal_action(int, siginfo_t*, void*);
DBacktraceCurrent.cpp114 static void SignalLogOnly(int, siginfo_t*, void*) { in SignalLogOnly() argument
121 static void SignalHandler(int, siginfo_t*, void* sigcontext) { in SignalHandler() argument
Dbacktrace_testlib.cpp36 void test_signal_action(int, siginfo_t*, void*) { test_loop_forever(); } in test_signal_action() argument
Dbacktrace_read_benchmarks.cpp45 siginfo_t si; in Attach()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp99 static void debuggerd_fallback_tombstone(int output_fd, ucontext_t* ucontext, siginfo_t* siginfo, in debuggerd_fallback_tombstone()
196 static void trace_handler(siginfo_t* info, ucontext_t* ucontext) { in trace_handler()
270 siginfo_t siginfo = {}; in trace_handler()
309 static void crash_handler(siginfo_t* info, ucontext_t* ucontext, void* abort_message) { in crash_handler()
342 extern "C" void debuggerd_fallback_handler(siginfo_t* info, ucontext_t* ucontext, in debuggerd_fallback_handler()
Ddebuggerd_fallback_nop.cpp29 extern "C" void debuggerd_fallback_handler(struct siginfo_t*, struct ucontext_t*, void*) { in debuggerd_fallback_handler() argument
Ddebuggerd_handler.cpp116 extern "C" void debuggerd_fallback_handler(siginfo_t*, ucontext_t*, void*);
170 static void log_signal_summary(const siginfo_t* info, const ucontext_t* ucontext) { in log_signal_summary()
299 siginfo_t* siginfo;
351 {.iov_base = thread_info->siginfo, .iov_len = sizeof(siginfo_t)}, in debuggerd_dispatch_pseudothread()
464 static void resend_signal(siginfo_t* info) { in resend_signal()
482 static void debuggerd_signal_handler(int signal_number, siginfo_t* info, void* context) { in debuggerd_signal_handler()
/system/core/debuggerd/libdebuggerd/
Dutility.cpp260 bool signal_has_si_addr(const siginfo_t* si) { in signal_has_si_addr()
278 bool signal_has_sender(const siginfo_t* si, pid_t caller_pid) { in signal_has_sender()
282 void get_signal_sender(char* buf, size_t n, const siginfo_t* si) { in get_signal_sender()
286 const char* get_signame(const siginfo_t* si) { in get_signame()
303 const char* get_sigcode(const siginfo_t* si) { in get_sigcode()
465 uintptr_t get_fault_address(const siginfo_t* siginfo, const ucontext_t* ucontext) { in get_fault_address()
Dtombstone.cpp115 static void dump_probable_cause(log_t* log, const siginfo_t* si, unwindstack::Maps* maps, in dump_probable_cause()
433 siginfo_t* si = thread_info.siginfo; in dump_thread()
553 void engrave_tombstone_ucontext(int tombstone_fd, uint64_t abort_msg_address, siginfo_t* siginfo, in engrave_tombstone_ucontext()
/system/core/init/
Dservice.h91 void Reap(const siginfo_t& siginfo);
99 void AddReapCallback(std::function<void(const siginfo_t& siginfo)> callback) { in AddReapCallback()
204 std::vector<std::function<void(const siginfo_t& siginfo)>> reap_callbacks_;
Dsigchld_handler.cpp46 siginfo_t siginfo = {}; in ReapOneProcess()
/system/core/libunwindstack/tests/
DTestUtils.h41 siginfo_t si; in TestQuiescePid()
DLocalUnwinderTest.cpp49 static void SignalLocalCallerHandler(int, siginfo_t*, void*) { in SignalLocalCallerHandler() argument
DUnwindTest.cpp75 static void SignalHandler(int, siginfo_t*, void* sigcontext) { in SignalHandler() argument
98 static void SignalCallerHandler(int, siginfo_t*, void*) { in SignalCallerHandler() argument
/system/core/debuggerd/
Dprotocol.h89 siginfo_t siginfo;
Dcrash_dump.cpp256 static void ReadCrashInfo(unique_fd& fd, siginfo_t* siginfo, in ReadCrashInfo()
460 siginfo_t siginfo; in main()
/system/core/libunwindstack/tools/
Dunwind.cpp49 siginfo_t si; in Attach()
/system/update_engine/common/
Dsubprocess.h138 void ChildExitedCallback(const siginfo_t& info);

12