| /src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stacktrace_printer.cpp | 158 buffer->AppendF("%02x", info.uuid[i]); in MaybeBuildIdToBuffer() 182 buffer->AppendF("%c", *p); in RenderFrame() 192 buffer->AppendF("%u", frame_no); in RenderFrame() 195 buffer->AppendF("%p", (void *)address); in RenderFrame() 198 buffer->AppendF("%s", StripPathPrefix(info->module, strip_path_prefix)); in RenderFrame() 201 buffer->AppendF("0x%zx", info->module_offset); in RenderFrame() 207 buffer->AppendF("%s", in RenderFrame() 211 buffer->AppendF("0x%zx", info->function_offset != AddressInfo::kUnknown in RenderFrame() 216 buffer->AppendF("%s", StripPathPrefix(info->file, strip_path_prefix)); in RenderFrame() 219 buffer->AppendF("%d", info->line); in RenderFrame() [all …]
|
| H A D | sanitizer_symbolizer_markup.cpp | 31 buffer->AppendF(kFormatData, reinterpret_cast<void *>(DI->start)); in RenderData() 46 buffer->AppendF(kFormatFrame, frame_no, reinterpret_cast<void *>(address)); in RenderFrame() 98 buildIdBuffer.AppendF("%02x", module.uuid()[i]); in RenderModule() 100 buffer->AppendF(kFormatModule, moduleId, module.full_name(), in RenderModule() 122 buffer->AppendF(kFormatMmap, reinterpret_cast<void *>(range.beg), in RenderMmaps()
|
| H A D | sanitizer_symbolizer_report.cpp | 62 buff.AppendF("%s ", error_type); in ReportErrorSummary() 195 str->AppendF("%s%s%x%x%s ", before, d.MemoryByte(), byte >> 4, byte & 15, in PrintMemoryByte() 203 str.AppendF("First 16 instruction bytes at pc: "); in MaybeDumpInstructionBytes() 208 str.AppendF("\n"); in MaybeDumpInstructionBytes() 210 str.AppendF("unaccessible\n"); in MaybeDumpInstructionBytes()
|
| H A D | sanitizer_stacktrace_libcdep.cpp | 51 output_->AppendF("%c", frame_delimiter_); in ProcessAddressFrames() 118 output->AppendF("DEDUP_TOKEN: %s\n", dedup_token.data()); in PrintTo()
|
| H A D | sanitizer_stoptheworld_linux_libcdep.cpp | 568 auto AppendF = [&](uptr regset) { in GetRegistersAndSP() local 599 bool fail = !AppendF(NT_PRSTATUS); in GetRegistersAndSP() 603 if (regs && AppendF(regs)) in GetRegistersAndSP()
|
| H A D | sanitizer_symbolizer_win.cpp | 234 command_line.AppendF("\"%s\" ", arg); in StartSymbolizerSubprocess()
|
| H A D | sanitizer_common.cpp | 118 buff.AppendF("SUMMARY: %s: %s", in ReportErrorSummary()
|
| H A D | sanitizer_printf.cpp | 347 void InternalScopedString::AppendF(const char *format, ...) { in AppendF() function in __sanitizer::InternalScopedString
|
| H A D | sanitizer_malloc_mac.inc | 126 new_name.AppendF(COMMON_MALLOC_ZONE_NAME "-%s", name);
|
| H A D | sanitizer_common.h | 650 void AppendF(const char *format, ...) FORMAT(2, 3);
|
| /src/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_diag.cpp | 137 Buffer->AppendF("0x%08x%08x%08x%08x", (unsigned int)(Val >> 96), in RenderHex() 150 Buffer->AppendF("<unknown>"); in RenderLocation() 159 Buffer->AppendF("%p", reinterpret_cast<void *>(Loc.getMemoryLocation())); in RenderLocation() 173 Buffer->AppendF("%p", reinterpret_cast<void *>(Info.address)); in RenderLocation() 177 Buffer->AppendF("<unknown>"); in RenderLocation() 186 Buffer->AppendF("%c", *Msg); in RenderText() 192 Buffer->AppendF("%s", A.String); in RenderText() 197 Buffer->AppendF("'%s'", A.String); in RenderText() 199 Buffer->AppendF("'%s'", Symbolizer::GetOrInit()->Demangle(A.String)); in RenderText() 205 Buffer->AppendF("%lld", (long long)A.SInt); in RenderText() [all …]
|
| /src/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_descriptions.cpp | 52 str.AppendF("Thread %s", AsanThreadIdAndName(context).c_str()); in DescribeThread() 58 str.AppendF(" created by %s here:\n", in DescribeThread() 132 str.AppendF("%p is located %zd bytes before", (void *)descr.bad_addr, in PrintHeapChunkAccess() 136 str.AppendF("%p is located %zd bytes after", (void *)descr.bad_addr, in PrintHeapChunkAccess() 140 str.AppendF("%p is located %zd bytes inside of", (void *)descr.bad_addr, in PrintHeapChunkAccess() 144 str.AppendF( in PrintHeapChunkAccess() 148 str.AppendF(" %zu-byte region [%p,%p)\n", descr.chunk_size, in PrintHeapChunkAccess() 246 str.AppendF(" [%zd, %zd)", var.beg, var_end); in PrintAccessAndVarIntersection() 250 str.AppendF("%c", var.name_pos[i]); in PrintAccessAndVarIntersection() 254 str.AppendF(" (line %zd)", var.line); in PrintAccessAndVarIntersection() [all …]
|
| H A D | asan_globals.cpp | 299 str->AppendF(" '%s' is ascii string '%s'\n", MaybeDemangleGlobalName(g.name), in PrintGlobalNameIfASCII() 307 str->AppendF("%s:%d", info.file, static_cast<int>(info.line)); in PrintGlobalLocation() 310 str->AppendF("%s", g.gcc_location->filename ? g.gcc_location->filename in PrintGlobalLocation() 313 str->AppendF(":%d", g.gcc_location->line_no); in PrintGlobalLocation() 315 str->AppendF(":%d", g.gcc_location->column_no); in PrintGlobalLocation() 317 str->AppendF("%s", g.module_name); in PrintGlobalLocation() 320 str->AppendF(" in %s", info.module); in PrintGlobalLocation()
|
| H A D | asan_errors.cpp | 382 error_msg.AppendF("%s: global '%s' at %s", scariness.GetDescription(), in Print() 520 str->AppendF( in PrintLegend() 525 str->AppendF(" Partially addressable: "); in PrintLegend() 528 str->AppendF("\n"); in PrintLegend() 562 str->AppendF("%s%p:", before, in PrintShadowBytes() 571 str->AppendF("\n"); in PrintShadowBytes() 580 str.AppendF("Shadow bytes around the buggy address:\n"); in PrintShadowMemoryForAddress()
|
| H A D | asan_fake_stack.cpp | 71 str.AppendF("%zd: %zd/%zd; ", class_id, hint_position_[class_id], in Destroy()
|
| H A D | asan_report.cpp | 64 str->AppendF("%s%s%x%x%s%s", before, in PrintMemoryByte()
|
| /src/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_descriptions.cpp | 52 str.AppendF("Thread %s", MemprofThreadIdAndName(context).c_str()); in DescribeThread() 58 str.AppendF(" created by %s here:\n", in DescribeThread()
|
| /src/contrib/llvm-project/compiler-rt/lib/hwasan/ |
| H A D | hwasan_report.cpp | 331 frame_desc.AppendF(" record_addr:%p record:0x%zx", in PrintStackAllocations() 423 s.AppendF("%p:", (void *)ShadowToMem(row)); in PrintTagInfoAroundAddr() 438 s.AppendF( in PrintTagsAroundAddr() 445 s.AppendF("%02x", tag); in PrintTagsAroundAddr() 448 s.AppendF( in PrintTagsAroundAddr() 457 s.AppendF("%02x", short_tag); in PrintTagsAroundAddr() 990 for (uptr i = 0; i < tail_size; i++) s.AppendF("%02x ", tail[i]); in ~TailOverwrittenReport() 994 for (uptr i = 0; i < tail_size; i++) s.AppendF("%02x ", actual_expected[i]); in ~TailOverwrittenReport() 999 s.AppendF("%s ", actual_expected[i] != tail[i] ? "^^" : " "); in ~TailOverwrittenReport() 1001 s.AppendF( in ~TailOverwrittenReport()
|
| H A D | hwasan.cpp | 175 s.AppendF( in HwasanFormatMemoryUsage()
|
| /src/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan.cpp | 829 out->AppendF( in PrintOriginTraceFramesToStr() 833 out->AppendF(" %sOrigin value: 0x%x, Taint value was created at%s\n", in PrintOriginTraceFramesToStr() 855 out->AppendF(" %sTaint value 0x%x (at %p) origin tracking (%s)%s\n", in PrintOriginTraceToStr()
|
| /src/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_common.cpp | 957 summary.AppendF("%zu byte(s) leaked in %zu allocation(s).", bytes, in PrintSummary()
|
| /src/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl.cpp | 450 filename.AppendF("%s.%d", fname, (int)internal_getpid()); in InitializeMemoryProfiler()
|