Home
last modified time | relevance | path

Searched refs:SignalContext (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_report.cpp168 SignalContext::DumpAllRegisters(context); in MaybeDumpRegisters()
171 static void ReportStackOverflowImpl(const SignalContext &sig, u32 tid, in ReportStackOverflowImpl()
189 static void ReportDeadlySignalImpl(const SignalContext &sig, u32 tid, in ReportDeadlySignalImpl()
208 sig.write_flag == SignalContext::WRITE in ReportDeadlySignalImpl()
210 : (sig.write_flag == SignalContext::READ ? "READ" : "UNKNOWN"); in ReportDeadlySignalImpl()
231 void ReportDeadlySignal(const SignalContext &sig, u32 tid, in ReportDeadlySignal()
245 SignalContext sig(siginfo, context); in HandleDeadlySignal()
Dsanitizer_win.cpp939 bool SignalContext::IsStackOverflow() const { in IsStackOverflow()
943 void SignalContext::InitPcSpBp() { in InitPcSpBp()
957 uptr SignalContext::GetAddress() const { in GetAddress()
964 bool SignalContext::IsMemoryAccess() const { in IsMemoryAccess()
969 bool SignalContext::IsTrueFaultingAddress() const { return true; } in IsTrueFaultingAddress()
971 SignalContext::WriteFlag SignalContext::GetWriteFlag() const { in GetWriteFlag()
976 return SignalContext::UNKNOWN; in GetWriteFlag()
984 return SignalContext::READ; in GetWriteFlag()
986 return SignalContext::WRITE; in GetWriteFlag()
988 return SignalContext::UNKNOWN; in GetWriteFlag()
[all …]
Dsanitizer_linux.cpp1814 SignalContext::WriteFlag SignalContext::GetWriteFlag() const { in GetWriteFlag()
1851 return SignalContext::WRITE; in GetWriteFlag()
1866 return SignalContext::READ; in GetWriteFlag()
1873 return SignalContext::READ; in GetWriteFlag()
1877 return SignalContext::UNKNOWN; in GetWriteFlag()
1918 return rd ? SignalContext::READ : SignalContext::UNKNOWN; in GetWriteFlag()
1930 return SignalContext::READ; in GetWriteFlag()
1941 return SignalContext::WRITE; in GetWriteFlag()
1943 return SignalContext::UNKNOWN; in GetWriteFlag()
1961 return SignalContext::READ; in GetWriteFlag()
[all …]
Dsanitizer_posix.cpp291 uptr SignalContext::GetAddress() const { in GetAddress()
296 bool SignalContext::IsMemoryAccess() const { in IsMemoryAccess()
301 int SignalContext::GetType() const { in GetType()
305 const char *SignalContext::Describe() const { in Describe()
Dsanitizer_common.h34 struct SignalContext;
327 typedef void (*UnwindSignalStackCallbackType)(const SignalContext &sig,
338 void ReportDeadlySignal(const SignalContext &sig, u32 tid,
902 struct SignalContext { struct
919 SignalContext() = default; argument
924 SignalContext(void *siginfo, void *context) in SignalContext() argument
Dsanitizer_fuchsia.cpp111 bool SignalContext::IsStackOverflow() const { return false; } in IsStackOverflow()
112 void SignalContext::DumpAllRegisters(void *context) { UNIMPLEMENTED(); } in DumpAllRegisters()
113 const char *SignalContext::Describe() const { UNIMPLEMENTED(); } in Describe()
Dsanitizer_symbolizer_markup.cpp105 void ReportDeadlySignal(const SignalContext &sig, u32 tid, in ReportDeadlySignal()
Dsanitizer_mac.cpp802 SignalContext::WriteFlag SignalContext::GetWriteFlag() const { in GetWriteFlag()
811 bool SignalContext::IsTrueFaultingAddress() const { in IsTrueFaultingAddress()
852 void SignalContext::InitPcSpBp() { in InitPcSpBp()
1237 void SignalContext::DumpAllRegisters(void *context) { in DumpAllRegisters()
/external/compiler-rt/lib/asan/
Dasan_posix.cc42 SignalContext sig = SignalContext::Create(siginfo, context); in AsanOnDeadlySignal()
Dasan_report.h54 void ReportStackOverflow(const SignalContext &sig);
55 void ReportDeadlySignal(const char *description, const SignalContext &sig);
Dasan_win.cc280 SignalContext sig = SignalContext::Create(exception_record, context); in SEHHandler()
Dasan_report.cc741 void ReportStackOverflow(const SignalContext &sig) { in ReportStackOverflow()
757 void ReportDeadlySignal(const char *description, const SignalContext &sig) { in ReportDeadlySignal()
772 sig.write_flag == SignalContext::WRITE in ReportDeadlySignal()
774 : (sig.write_flag == SignalContext::READ ? "READ" : "UNKNOWN"); in ReportDeadlySignal()
781 } else if (sig.write_flag == SignalContext::WRITE) { in ReportDeadlySignal()
783 } else if (sig.write_flag == SignalContext::READ) { in ReportDeadlySignal()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cc814 SignalContext SignalContext::Create(void *siginfo, void *context) { in Create()
832 WriteFlag write_flag = SignalContext::UNKNOWN; in Create()
834 case 0: write_flag = SignalContext::READ; break; in Create()
835 case 1: write_flag = SignalContext::WRITE; break; in Create()
836 case 8: write_flag = SignalContext::UNKNOWN; break; in Create()
838 bool is_memory_access = write_flag != SignalContext::UNKNOWN; in Create()
839 return SignalContext(context, access_addr, pc, sp, bp, is_memory_access, in Create()
Dsanitizer_posix.cc351 SignalContext SignalContext::Create(void *siginfo, void *context) { in Create()
358 return SignalContext(context, addr, pc, sp, bp, is_memory_access, write_flag); in Create()
Dsanitizer_stoptheworld_linux_libcdep.cc235 SignalContext ctx = SignalContext::Create(siginfo, uctx); in TracerThreadSignalHandler()
Dsanitizer_common.h772 struct SignalContext { struct
782 SignalContext(void *context, uptr addr, uptr pc, uptr sp, uptr bp, in SignalContext() argument
793 static SignalContext Create(void *siginfo, void *context);
Dsanitizer_mac.cc516 SignalContext::WriteFlag SignalContext::GetWriteFlag(void *context) { in GetWriteFlag()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_errors.h40 SignalContext signal;
43 ErrorDeadlySignal(u32 tid, const SignalContext &sig) in ErrorDeadlySignal()
56 } else if (signal.write_flag == SignalContext::WRITE) { in ErrorDeadlySignal()
58 } else if (signal.write_flag == SignalContext::READ) { in ErrorDeadlySignal()
Dasan_posix.cpp38 SignalContext sig(siginfo, context); in AsanOnDeadlySignal()
Dasan_report.h51 void ReportDeadlySignal(const SignalContext &sig);
/external/gwp_asan/gwp_asan/optional/
Dbacktrace.h40 void *SignalContext);
/external/llvm-project/compiler-rt/lib/gwp_asan/optional/
Dsegv_handler.h68 void *SignalContext);
/external/llvm-project/compiler-rt/lib/ubsan/
Dubsan_signals_standalone.cpp46 static void OnStackUnwind(const SignalContext &sig, const void *, in OnStackUnwind()
/external/llvm-project/compiler-rt/lib/lsan/
Dlsan_posix.cpp83 static void OnStackUnwind(const SignalContext &sig, const void *, in OnStackUnwind()
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_linux.cpp405 SignalContext sig{info, uc}; in HwasanOnSIGTRAP()
417 static void OnStackUnwind(const SignalContext &sig, const void *, in OnStackUnwind()

12