Home
last modified time | relevance | path

Searched refs:AppendF (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace_printer.cpp158 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 Dsanitizer_symbolizer_markup.cpp31 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 Dsanitizer_symbolizer_report.cpp62 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 Dsanitizer_stacktrace_libcdep.cpp51 output_->AppendF("%c", frame_delimiter_); in ProcessAddressFrames()
118 output->AppendF("DEDUP_TOKEN: %s\n", dedup_token.data()); in PrintTo()
H A Dsanitizer_stoptheworld_linux_libcdep.cpp568 auto AppendF = [&](uptr regset) { in GetRegistersAndSP() local
599 bool fail = !AppendF(NT_PRSTATUS); in GetRegistersAndSP()
603 if (regs && AppendF(regs)) in GetRegistersAndSP()
H A Dsanitizer_common.cpp118 buff.AppendF("SUMMARY: %s: %s", in ReportErrorSummary()
H A Dsanitizer_printf.cpp347 void InternalScopedString::AppendF(const char *format, ...) { in AppendF() function in __sanitizer::InternalScopedString
H A Dsanitizer_common.h650 void AppendF(const char *format, ...) FORMAT(2, 3);
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.cpp137 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 …]
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_descriptions.cpp52 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 Dasan_globals.cpp299 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 Dasan_report.cpp64 str->AppendF("%s%s%x%x%s%s", before, in PrintMemoryByte()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_descriptions.cpp52 str.AppendF("Thread %s", MemprofThreadIdAndName(context).c_str()); in DescribeThread()
58 str.AppendF(" created by %s here:\n", in DescribeThread()
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_report.cpp331 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 Dhwasan.cpp175 s.AppendF( in HwasanFormatMemoryUsage()
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan.cpp829 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()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common.cpp957 summary.AppendF("%zu byte(s) leaked in %zu allocation(s).", bytes, in PrintSummary()
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cpp450 filename.AppendF("%s.%d", fname, (int)internal_getpid()); in InitializeMemoryProfiler()