reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

projects/compiler-rt/lib/sanitizer_common/sanitizer_common.h
  579   void append(const char *format, ...);

References

projects/compiler-rt/lib/asan/asan_descriptions.cpp
   52   str.append("Thread %s", AsanThreadIdAndName(context).c_str());
   54     str.append(" created by unknown thread\n");
   58   str.append(" created by %s here:\n",
  130   str.append("%s", d.Location());
  133       str.append("%p is located %zd bytes to the left of",
  137       str.append("%p is located %zd bytes to the right of",
  141       str.append("%p is located %zd bytes inside of", (void *)descr.bad_addr,
  145       str.append(
  149   str.append(" %zu-byte region [%p,%p)\n", descr.chunk_size,
  152   str.append("%s", d.Default());
  247   str.append("    [%zd, %zd)", var.beg, var_end);
  249   str.append(" '");
  251     str.append("%c", var.name_pos[i]);
  253   str.append("'");
  255     str.append(" (line %d)", var.line);
  261     str.append("%s <== Memory access at offset %zd %s this variable%s\n",
  264     str.append("\n");
  281   str.append("%s", d.Location());
  283     str.append("%p is located %zd bytes to the left", (void *)addr,
  287     str.append("%p is located %zd bytes to the right", (void *)addr,
  291     str.append("%p is located %zd bytes inside", (void *)addr, addr - g.beg);
  293   str.append(" of global variable '%s' defined in '",
  296   str.append("' (0x%zx) of size %zu\n", g.beg, g.size);
  297   str.append("%s", d.Default());
projects/compiler-rt/lib/asan/asan_errors.cpp
  364   error_msg.append("%s: global '%s' at %s", scariness.GetDescription(),
  500   str->append(
  505   str->append("  Partially addressable: ");
  507   str->append("\n");
  541   if (before) str->append("%s%p:", before, bytes);
  549   str->append("\n");
  558   str.append("Shadow bytes around the buggy address:\n");
projects/compiler-rt/lib/asan/asan_fake_stack.cpp
   70       str.append("%zd: %zd/%zd; ", class_id, hint_position_[class_id],
projects/compiler-rt/lib/asan/asan_globals.cpp
  295   str->append("  '%s' is ascii string '%s'\n", MaybeDemangleGlobalName(g.name),
  308   str->append("%s", GlobalFilename(g));
  310   if (g.location->line_no) str->append(":%d", g.location->line_no);
  311   if (g.location->column_no) str->append(":%d", g.location->column_no);
projects/compiler-rt/lib/asan/asan_report.cpp
   61   str->append("%s%s%x%x%s%s", before,
projects/compiler-rt/lib/hwasan/hwasan.cpp
  160   s.append(
projects/compiler-rt/lib/hwasan/hwasan_report.cpp
  198     frame_desc.append("  record_addr:0x%zx record:0x%zx",
  373     s.append("%s", row == center_row_beg ? "=>" : "  ");
  375       s.append("%s", row + i == tag_ptr ? "[" : " ");
  377       s.append("%s", row + i == tag_ptr ? "]" : " ");
  379     s.append("%s\n", row == center_row_beg ? "<=" : "  ");
  389     s.append("%02x", *tag);
  399       s.append("%02x",
  402       s.append("..");
  462   s.append("Tail contains: ");
  464     s.append(".. ");
  466     s.append("%02x ", tail[i]);
  467   s.append("\n");
  468   s.append("Expected:      ");
  470     s.append(".. ");
  472     s.append("%02x ", expected[i]);
  473   s.append("\n");
  474   s.append("               ");
  476     s.append("   ");
  478     s.append("%s ", expected[i] != tail[i] ? "^^" : "  ");
  480   s.append("\nThis error occurs when a buffer overflow overwrites memory\n"
projects/compiler-rt/lib/lsan/lsan_common.cpp
  758   summary.append("%zu byte(s) leaked in %zu allocation(s).", bytes,
projects/compiler-rt/lib/sanitizer_common/sanitizer_common.cpp
   91   buff.append("SUMMARY: %s: %s",
projects/compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cpp
   96   msg_copy.append("%s", msg);
projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
  549     module_name.append("%s", info->dlpi_name);
projects/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cpp
   44           dedup_token.append("--");
   46           dedup_token.append(cur->info.function);
projects/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_printer.cpp
  116       buffer->append("%c", *p);
  122       buffer->append("%%");
  126       buffer->append("%zu", frame_no);
  129       buffer->append("0x%zx", info.address);
  132       buffer->append("%s", StripPathPrefix(info.module, strip_path_prefix));
  135       buffer->append("0x%zx", info.module_offset);
  138       buffer->append("%s",
  143       buffer->append("0x%zx", info.function_offset != AddressInfo::kUnknown
  148       buffer->append("%s", StripPathPrefix(info.file, strip_path_prefix));
  151       buffer->append("%d", info.line);
  154       buffer->append("%d", info.column);
  160         buffer->append("in %s",
  164           buffer->append("+0x%zx", info.function_offset);
  181         buffer->append("(<unknown module>)");
  193         buffer->append("(%p)", (void *)info.address);
  207       buffer->append("%c", *p);
  213         buffer->append("%%");
  216         buffer->append("%s", StripPathPrefix(DI->file, strip_path_prefix));
  219         buffer->append("%d", DI->line);
  222         buffer->append("%s", DI->name);
  238     buffer->append("%s(%d", StripPathPrefix(file, strip_path_prefix), line);
  240       buffer->append(",%d", column);
  241     buffer->append(")");
  245   buffer->append("%s", StripPathPrefix(file, strip_path_prefix));
  247     buffer->append(":%d", line);
  249       buffer->append(":%d", column);
  256   buffer->append("(%s", StripPathPrefix(module, strip_path_prefix));
  258     buffer->append(":%s", ModuleArchToString(arch));
  260   buffer->append("+0x%zx)", offset);
projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
   35   buff.append("%s ", error_type);
  145   str->append("%s%s%x%x%s ", before, d.MemoryByte(), byte >> 4, byte & 15,
  153   str.append("First 16 instruction bytes at pc: ");
  158     str.append("\n");
  160     str.append("unaccessible\n");
projects/compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
  164       filename.append("%s.%d", flags()->profile_memory, (int)internal_getpid());
projects/compiler-rt/lib/ubsan/ubsan_diag.cpp
  139   Buffer->append("0x%08x%08x%08x%08x", (unsigned int)(Val >> 96),
  152       Buffer->append("<unknown>");
  160     Buffer->append("%p", Loc.getMemoryLocation());
  172       Buffer->append("%p", Info.address);
  176     Buffer->append("<unknown>");
  185       Buffer->append("%c", *Msg);
  191       Buffer->append("%s", A.String);
  196         Buffer->append("'%s'", A.String);
  198         Buffer->append("'%s'", Symbolizer::GetOrInit()->Demangle(A.String));
  204         Buffer->append("%lld", (long long)A.SInt);
  210         Buffer->append("%llu", (unsigned long long)A.UInt);
  223       Buffer->append("%s", FloatBuffer);
  227       Buffer->append("%p", A.Pointer);
  284     Buffer.append("%s%02x", (P % 8 == 0) ? "  " : " ", C);
  286   Buffer.append("\n");
  289   Buffer.append(Decor.Highlight());
  302       Buffer.append("%c", Pad);
  303     Buffer.append("%c", Pad);
  304     Buffer.append("%c", P == Loc ? '^' : Byte);
  305     Buffer.append("%c", Byte);
  307   Buffer.append("%s\n", Decor.Default());
  322         Buffer.append(" ");
  324       Buffer.append("\n");
  358   Buffer.append(Decor.Bold());
  360   Buffer.append(":");
  364     Buffer.append("%s runtime error: %s%s", Decor.Warning(), Decor.Default(),
  369     Buffer.append("%s note: %s", Decor.Note(), Decor.Default());
  375   Buffer.append("%s\n", Decor.Default());
projects/compiler-rt/lib/ubsan/ubsan_monitor.cpp
   26   Buffer.append("%s", Msg.data());