| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stacktrace_libcdep.cpp | 26 InternalScopedString *output, in StackTraceTextPrinter() 27 InternalScopedString *dedup_token) in StackTraceTextPrinter() 75 InternalScopedString *output_; 76 InternalScopedString *dedup_token_; 80 static void CopyStringToBuffer(const InternalScopedString &str, char *out_buf, in CopyStringToBuffer() 93 void StackTrace::PrintTo(InternalScopedString *output) const { in PrintTo() 96 InternalScopedString dedup_token; in PrintTo() 123 InternalScopedString output; in PrintTo() 131 InternalScopedString output; in Print() 196 InternalScopedString output; in __sanitizer_symbolize_pc() [all …]
|
| H A D | sanitizer_stacktrace_printer.h | 49 void RenderFrame(InternalScopedString *buffer, const char *format, int frame_no, 56 void RenderSourceLocation(InternalScopedString *buffer, const char *file, 60 void RenderModuleLocation(InternalScopedString *buffer, const char *module, 68 void RenderData(InternalScopedString *buffer, const char *format,
|
| H A D | sanitizer_stacktrace_printer.cpp | 108 InternalScopedString *buffer) { in MaybeBuildIdToBuffer() 122 void RenderFrame(InternalScopedString *buffer, const char *format, int frame_no, in RenderFrame() 250 void RenderData(InternalScopedString *buffer, const char *format, in RenderData() 281 void RenderSourceLocation(InternalScopedString *buffer, const char *file, in RenderSourceLocation() 300 void RenderModuleLocation(InternalScopedString *buffer, const char *module, in RenderModuleLocation()
|
| H A D | sanitizer_symbolizer_markup.cpp | 84 void RenderData(InternalScopedString *buffer, const char *format, in RenderData() 92 void RenderFrame(InternalScopedString *buffer, const char *format, int frame_no, in RenderFrame()
|
| H A D | sanitizer_symbolizer_report.cpp | 34 InternalScopedString buff; in ReportErrorSummary() 149 static void PrintMemoryByte(InternalScopedString *str, const char *before, in PrintMemoryByte() 159 InternalScopedString str; in MaybeDumpInstructionBytes()
|
| H A D | sanitizer_stacktrace.h | 62 void PrintTo(InternalScopedString *output) const;
|
| H A D | sanitizer_common_libcdep.cpp | 120 InternalScopedString msg_copy; in WriteToSyslog()
|
| H A D | sanitizer_symbolizer_win.cpp | 227 InternalScopedString command_line; in StartSymbolizerSubprocess()
|
| H A D | sanitizer_printf.cpp | 340 void InternalScopedString::append(const char *format, ...) { in append()
|
| H A D | sanitizer_common.cpp | 97 InternalScopedString buff; in ReportErrorSummary()
|
| H A D | sanitizer_common.h | 626 class InternalScopedString { 628 InternalScopedString() : buffer_(1) { buffer_[0] = '\0'; } in InternalScopedString() function
|
| /llvm-project-15.0.7/compiler-rt/lib/ubsan/ |
| H A D | ubsan_monitor.h | 24 InternalScopedString Buffer; 27 InternalScopedString &Msg);
|
| H A D | ubsan_monitor.cpp | 19 InternalScopedString &Msg) in UndefinedBehaviorReport() 51 InternalScopedString &Buf = CurrentUBR->Buffer; in __ubsan_get_current_report_data()
|
| H A D | ubsan_diag.cpp | 135 static void RenderHex(InternalScopedString *Buffer, UIntMax Val) { in RenderHex() 145 static void RenderLocation(InternalScopedString *Buffer, Location Loc) { in RenderLocation() 179 static void RenderText(InternalScopedString *Buffer, const char *Message, in RenderText() 279 InternalScopedString Buffer; in PrintMemorySnippet() 347 InternalScopedString Buffer; in ~Diag()
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_report.h | 37 void PrintGlobalNameIfASCII(InternalScopedString *str, const __asan_global &g); 38 void PrintGlobalLocation(InternalScopedString *str, const __asan_global &g); 40 void PrintMemoryByte(InternalScopedString *str, const char *before, u8 byte,
|
| H A D | asan_errors.cpp | 343 InternalScopedString g1_loc; in Print() 344 InternalScopedString g2_loc; in Print() 361 InternalScopedString error_msg; in Print() 494 static void PrintShadowByte(InternalScopedString *str, const char *before, in PrintShadowByte() 499 static void PrintLegend(InternalScopedString *str) { in PrintLegend() 538 static void PrintShadowBytes(InternalScopedString *str, const char *before, in PrintShadowBytes() 558 InternalScopedString str; in PrintShadowMemoryForAddress()
|
| H A D | asan_descriptions.cpp | 51 InternalScopedString str; in DescribeThread() 128 InternalScopedString str; in PrintHeapChunkAccess() 245 InternalScopedString str; in PrintAccessAndVarIntersection() 278 InternalScopedString str; in DescribeAddressRelativeToGlobal()
|
| H A D | asan_globals.cpp | 289 void PrintGlobalNameIfASCII(InternalScopedString *str, const __asan_global &g) { in PrintGlobalNameIfASCII() 299 void PrintGlobalLocation(InternalScopedString *str, const __asan_global &g) { in PrintGlobalLocation()
|
| H A D | asan_fake_stack.cpp | 69 InternalScopedString str; in Destroy()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_stacktrace_printer_test.cpp | 19 InternalScopedString str; in TEST() 53 InternalScopedString str; in TEST() 79 InternalScopedString str; in TEST()
|
| H A D | sanitizer_common_test.cpp | 379 TEST(SanitizerCommon, InternalScopedString) { in TEST() argument 380 InternalScopedString str; in TEST() 403 InternalScopedString str; in TEST() 414 InternalScopedString str; in TEST()
|
| /llvm-project-15.0.7/compiler-rt/lib/hwasan/ |
| H A D | hwasan_report.cpp | 227 InternalScopedString frame_desc; in PrintStackAllocations() 511 void (*print_tag)(InternalScopedString &s, in PrintTagInfoAroundAddr() 518 InternalScopedString s; in PrintTagInfoAroundAddr() 536 PrintTagInfoAroundAddr(tag_ptr, 17, [](InternalScopedString &s, tag_t *tag) { in PrintTagsAroundAddr() 544 PrintTagInfoAroundAddr(tag_ptr, 3, [](InternalScopedString &s, tag_t *tag) { in PrintTagsAroundAddr() 641 InternalScopedString s; in ReportTailOverwritten()
|
| H A D | hwasan.cpp | 143 static void HwasanFormatMemoryUsage(InternalScopedString &s) { in HwasanFormatMemoryUsage() 178 InternalScopedString s; in UpdateMemoryUsage() 566 InternalScopedString s; in __hwasan_print_memory_usage()
|
| /llvm-project-15.0.7/compiler-rt/lib/memprof/ |
| H A D | memprof_descriptions.cpp | 51 InternalScopedString str; in DescribeThread()
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | dfsan.cpp | 711 bool PrintOriginTraceFramesToStr(Origin o, InternalScopedString *out) { in PrintOriginTraceFramesToStr() 736 InternalScopedString *out) { in PrintOriginTraceToStr() 769 InternalScopedString trace; in dfsan_print_origin_trace() 795 InternalScopedString trace; in dfsan_sprint_origin_trace() 819 InternalScopedString trace; in dfsan_print_origin_id_trace() 839 InternalScopedString trace; in dfsan_sprint_origin_id_trace()
|