| /openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_report.cpp | 109 Printf(" [failed to restore the stack]\n\n"); in PrintStack() 119 Printf("%s\n", res.data()); in PrintStack() 121 Printf("\n"); in PrintStack() 127 Printf(" (mutexes:"); in PrintMutexSet() 129 Printf(" %s M%u", m.write ? "write" : "read", m.id); in PrintMutexSet() 130 Printf(i == mset.Size() - 1 ? ")" : ","); in PrintMutexSet() 149 Printf("%s", d.Access()); in PrintMop() 151 Printf(" %s of size %d at %p by %s", in PrintMop() 158 Printf(" %s access of %s at %p by %s", in PrintMop() 163 Printf(":\n"); in PrintMop() [all …]
|
| H A D | tsan_platform_posix.cpp | 38 Printf(kShadowMemoryMappingWarning, SanitizerToolName, addr, addr + size, in DontDumpShadow() 40 Printf(kShadowMemoryMappingHint, "MADV_DONTDUMP", "use_madv_dontdump"); in DontDumpShadow() 49 Printf("FATAL: ThreadSanitizer can not mmap the shadow memory\n"); in InitializeShadowMemory() 50 Printf("FATAL: Make sure to compile with -fPIE and to link with -pie.\n"); in InitializeShadowMemory() 66 Printf("FATAL: ThreadSanitizer can not mmap the shadow memory\n"); in InitializeShadowMemory() 67 Printf("FATAL: Make sure to compile with -fPIE and to link with -pie.\n"); in InitializeShadowMemory() 91 Printf("FATAL: ThreadSanitizer can not protect [%zx,%zx]\n", beg, end); in ProtectRange() 92 Printf("FATAL: Make sure you are not using unlimited stack\n"); in ProtectRange() 108 Printf("FATAL: ThreadSanitizer: unexpected memory mapping 0x%zx-0x%zx\n", in CheckAndProtect()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/msan/ |
| H A D | msan_report.cpp | 39 Printf("%s", d.Origin()); in DescribeStackOrigin() 41 Printf( in DescribeStackOrigin() 46 Printf(" %sUninitialized value was created in the stack frame%s\n", in DescribeStackOrigin() 61 Printf(" %sUninitialized value was stored to memory at%s\n", d.Origin(), in DescribeOrigin() 73 Printf(" %sUninitialized value was created by a heap allocation%s\n", in DescribeOrigin() 77 Printf(" %sUninitialized value was created by a heap deallocation%s\n", in DescribeOrigin() 81 Printf(" %sMemory was marked as uninitialized%s\n", d.Origin(), in DescribeOrigin() 85 Printf(" %sMember fields were destroyed%s\n", d.Origin(), d.Default()); in DescribeOrigin() 88 Printf(" %sVirtual table ptr was destroyed%s\n", d.Origin(), in DescribeOrigin() 92 Printf(" %sUninitialized value was created%s\n", d.Origin(), in DescribeOrigin() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/ |
| H A D | hwasan_report.cpp | 107 Printf( in MaybePrintAndroidHelpUrl() 221 Printf("Potentially referenced stack objects:\n"); in PrintStackAllocations() 224 Printf(" %s in %s %s:%d\n", local.name, local.function_name, in PrintStackAllocations() 237 Printf("Previously allocated frames:\n"); in PrintStackAllocations() 253 Printf("%s\n", frame_desc.data()); in PrintStackAllocations() 326 Printf("%s", d.Error()); in ShowHeapOrGlobalCandidate() 327 Printf("\nCause: heap-buffer-overflow\n"); in ShowHeapOrGlobalCandidate() 328 Printf("%s", d.Default()); in ShowHeapOrGlobalCandidate() 329 Printf("%s", d.Location()); in ShowHeapOrGlobalCandidate() 330 Printf("%p is located %zd bytes %s a %zd-byte region [%p,%p)\n", in ShowHeapOrGlobalCandidate() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/asan/ |
| H A D | asan_errors.cpp | 48 Printf("%s", d.Error()); in Print() 52 Printf("%s", d.Default()); in Print() 63 Printf("%s", d.Error()); in Print() 67 Printf("%s object passed to delete has wrong type:\n", d.Default()); in Print() 69 Printf( in Print() 84 Printf( in Print() 103 Printf("%s", d.Error()); in Print() 108 Printf("%s", d.Default()); in Print() 124 Printf("%s", d.Error()); in Print() 128 Printf("%s", d.Default()); in Print() [all …]
|
| H A D | asan_rtl.cpp | 308 Printf("AddressSanitizer exit stats:\n"); in asan_atexit() 313 Printf("asan_mapping.h:%zd -- %zd\n", i, AsanMappingProfile[i]); in asan_atexit() 329 Printf("|| `[%p, %p]` || HighMem ||\n", in PrintAddressSpaceLayout() 331 Printf("|| `[%p, %p]` || HighShadow ||\n", in PrintAddressSpaceLayout() 335 Printf("|| `[%p, %p]` || ShadowGap3 ||\n", in PrintAddressSpaceLayout() 337 Printf("|| `[%p, %p]` || MidMem ||\n", in PrintAddressSpaceLayout() 339 Printf("|| `[%p, %p]` || ShadowGap2 ||\n", in PrintAddressSpaceLayout() 341 Printf("|| `[%p, %p]` || MidShadow ||\n", in PrintAddressSpaceLayout() 344 Printf("|| `[%p, %p]` || ShadowGap ||\n", in PrintAddressSpaceLayout() 347 Printf("|| `[%p, %p]` || LowShadow ||\n", in PrintAddressSpaceLayout() [all …]
|
| H A D | asan_stats.cpp | 34 Printf("%s", prefix); in PrintMallocStatsArray() 37 Printf("%zu:%zu; ", i, array[i]); in PrintMallocStatsArray() 39 Printf("\n"); in PrintMallocStatsArray() 43 Printf("Stats: %zuM malloced (%zuM for red zones) by %zu calls\n", in Print() 45 Printf("Stats: %zuM realloced by %zu calls\n", realloced>>20, reallocs); in Print() 46 Printf("Stats: %zuM freed by %zu calls\n", freed>>20, frees); in Print() 47 Printf("Stats: %zuM really freed by %zu calls\n", in Print() 49 Printf("Stats: %zuM (%zuM-%zuM) mmaped; %zu maps, %zu unmaps\n", in Print() 54 Printf("Stats: malloc large: %zu\n", malloc_large); in Print() 128 Printf("Stats: StackDepot: %zd ids; %zdM allocated\n", in PrintAccumulatedStats()
|
| H A D | asan_descriptions.cpp | 55 Printf("%s", str.data()); in DescribeThread() 60 Printf("%s", str.data()); in DescribeThread() 152 Printf("%s", str.data()); in PrintHeapChunkAccess() 183 Printf( in DescribeAddressIfHeap() 265 Printf("%s", str.data()); in PrintAccessAndVarIntersection() 298 Printf("%s", str.data()); in DescribeAddressRelativeToGlobal() 321 Printf("Address %p is located in the %s area.\n", (void *)addr, in Print() 331 Printf(" registered at:\n"); in Print() 359 Printf("%s", d.Location()); in Print() 360 Printf("Address %p is located in stack of thread %s", (void *)addr, in Print() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/optional/ |
| H A D | segv_handler_posix.cpp | 36 ScopedEndOfReportDecorator(gwp_asan::Printf_t Printf) : Printf(Printf) {} in ScopedEndOfReportDecorator() 37 ~ScopedEndOfReportDecorator() { Printf("*** End GWP-ASan report ***\n"); } in ~ScopedEndOfReportDecorator() 38 gwp_asan::Printf_t Printf; member 44 Printf_t Printf) { in printHeader() argument 97 Printf("%s%s at 0x%zx %sby thread %s here:\n", gwp_asan::ErrorToString(E), in printHeader() 104 SegvBacktrace_t SegvBacktrace, Printf_t Printf, in dumpReport() argument 108 assert(Printf && "dumpReport missing Printf."); in dumpReport() 130 Printf("*** GWP-ASan detected a memory error ***\n"); in dumpReport() 131 ScopedEndOfReportDecorator Decorator(Printf); in dumpReport() 135 Printf("GWP-ASan cannot provide any more information about this error. " in dumpReport() [all …]
|
| H A D | options_parser.cpp | 25 #define InvokeIfNonNull(Printf, ...) \ argument 27 if (Printf) \ 28 Printf(__VA_ARGS__); \ 34 : Printf(PrintfForWarnings) {} in OptionParser() 58 gwp_asan::Printf_t Printf = nullptr; member in __anon9de786660111::OptionParser 67 InvokeIfNonNull(Printf, "GWP-ASan: Available options:\n"); in printOptionDescriptions() 69 InvokeIfNonNull(Printf, "\t%s\n\t\t- %s\n", Options[I].Name, in printOptionDescriptions() 92 InvokeIfNonNull(Printf, "GWP-ASan: Expected '=' when parsing option '%s'.", in parseOption() 103 InvokeIfNonNull(Printf, "GWP-ASan: Unterminated string in option '%s'.", in parseOption() 124 InvokeIfNonNull(Printf, "GWP-ASan: Options parsing failed.\n"); in parseOptions() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerLoop.cpp | 54 Printf("MallocFreeTracer: START\n"); in Start() 61 Printf("MallocFreeTracer: STOP %zd %zd (%s)\n", Mallocs.load(), in Stop() 105 Printf("MALLOC[%zd] %p %zd\n", N, ptr, size); in MallocHook() 118 Printf("FREE[%zd] %p\n", N, ptr); in FreeHook() 128 Printf("==%d== ERROR: libFuzzer: out-of-memory (malloc(%zd))\n", GetPid(), in HandleMalloc() 130 Printf(" To change the out-of-memory limit use -rss_limit_mb=<N>\n\n"); in HandleMalloc() 133 Printf("SUMMARY: libFuzzer: out-of-memory\n"); in HandleMalloc() 181 Printf("; base unit: %s\n", Sha1ToString(BaseSha1).c_str()); in DumpCurrentUnit() 220 Printf("INFO: signal received, trying to exit gracefully\n"); in StaticGracefulExitCallback() 224 Printf("==%lu== ERROR: libFuzzer: file size exceeded\n", GetPid()); in StaticFileSizeExceedCallback() [all …]
|
| H A D | FuzzerDriver.cpp | 93 Printf("Usage:\n"); in PrintHelp() 95 Printf("\nTo run fuzzing pass 0 or more directories.\n"); in PrintHelp() 96 Printf("%s [-flag1=val1 [-flag2=val2 ...] ] [dir1 [dir2 ...] ]\n", Prog); in PrintHelp() 98 Printf("\nTo run individual tests without fuzzing pass 1 or more files:\n"); in PrintHelp() 99 Printf("%s [-flag1=val1 [-flag2=val2 ...] ] file1 [file2 ...]\n", Prog); in PrintHelp() 101 Printf("\nFlags: (strictly in form -flag=value)\n"); in PrintHelp() 109 Printf(" %s", D.Name); in PrintHelp() 111 Printf(" "); in PrintHelp() 112 Printf("\t"); in PrintHelp() 113 Printf("%d\t%s\n", D.Default, D.Description); in PrintHelp() [all …]
|
| H A D | FuzzerUtil.cpp | 30 Printf("0x%x,", (unsigned)Data[i]); in PrintHexArray() 31 Printf("%s", PrintAfter); in PrintHexArray() 40 Printf("\\\\"); in PrintASCIIByte() 42 Printf("\\\""); in PrintASCIIByte() 44 Printf("%c", Byte); in PrintASCIIByte() 46 Printf("\\%03o", Byte); in PrintASCIIByte() 52 Printf("%s", PrintAfter); in PrintASCII() 129 Printf("ParseDictionaryFile: file does not exist or is empty\n"); in ParseDictionaryFile() 146 Printf("ParseDictionaryFile: error in line %d\n\t\t%s\n", LineNo, in ParseDictionaryFile() 202 Printf("%s", DescribePC(SymbolizedFMT, PC).c_str()); in PrintPC() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Core/ |
| H A D | DumpDataExtractor.cpp | 162 s->Printf("invalid target"); in DumpInstructions() 175 s.Printf("\\e"); in TryDumpSpecialEscapedChar() 178 s.Printf("\\a"); in TryDumpSpecialEscapedChar() 181 s.Printf("\\b"); in TryDumpSpecialEscapedChar() 184 s.Printf("\\f"); in TryDumpSpecialEscapedChar() 187 s.Printf("\\n"); in TryDumpSpecialEscapedChar() 190 s.Printf("\\r"); in TryDumpSpecialEscapedChar() 193 s.Printf("\\t"); in TryDumpSpecialEscapedChar() 196 s.Printf("\\v"); in TryDumpSpecialEscapedChar() 199 s.Printf("\\0"); in TryDumpSpecialEscapedChar() [all …]
|
| H A D | Declaration.cpp | 22 s->Printf(":%u", m_line); in Dump() 24 s->Printf(":%u", m_column); in Dump() 27 s->Printf(", line = %u", m_line); in Dump() 29 s->Printf(":%u", m_column); in Dump() 31 s->Printf(", column = %u", m_column); in Dump() 43 s->Printf(":%u", m_line); in DumpStopContext() 45 s->Printf(":%u", m_column); in DumpStopContext() 48 s->Printf(" line %u", m_line); in DumpStopContext() 50 s->Printf(":%u", m_column); in DumpStopContext()
|
| H A D | DumpRegisterValue.cpp | 36 format_string.Printf("%%%us", reg_name_right_align_at); in DumpRegisterValue() 38 format_string.Printf("%%s"); in DumpRegisterValue() 42 s->Printf(fmt.c_str(), reg_info->name); in DumpRegisterValue() 45 s->Printf(fmt.c_str(), reg_info->alt_name); in DumpRegisterValue() 54 s->Printf(fmt.c_str(), reg_info->alt_name); in DumpRegisterValue() 59 s->Printf(fmt.c_str(), reg_info->name); in DumpRegisterValue()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/memprof/ |
| H A D | memprof_rtl.cpp | 104 Printf("MemProfiler exit stats:\n"); in memprof_atexit() 117 Printf("|| `[%p, %p]` || HighMem ||\n", (void *)kHighMemBeg, in PrintAddressSpaceLayout() 119 Printf("|| `[%p, %p]` || HighShadow ||\n", (void *)kHighShadowBeg, in PrintAddressSpaceLayout() 122 Printf("|| `[%p, %p]` || ShadowGap ||\n", (void *)kShadowGapBeg, in PrintAddressSpaceLayout() 125 Printf("|| `[%p, %p]` || LowShadow ||\n", (void *)kLowShadowBeg, in PrintAddressSpaceLayout() 127 Printf("|| `[%p, %p]` || LowMem ||\n", (void *)kLowMemBeg, in PrintAddressSpaceLayout() 130 Printf("MemToShadow(shadow): %p %p", (void *)MEM_TO_SHADOW(kLowShadowBeg), in PrintAddressSpaceLayout() 133 Printf(" %p %p", (void *)MEM_TO_SHADOW(kHighShadowBeg), in PrintAddressSpaceLayout() 136 Printf("\n"); in PrintAddressSpaceLayout() 137 Printf("malloc_context_size=%zu\n", in PrintAddressSpaceLayout() [all …]
|
| H A D | memprof_stats.cpp | 33 Printf("%s", prefix); in PrintMallocStatsArray() 37 Printf("%zu:%zu; ", i, array[i]); in PrintMallocStatsArray() 39 Printf("\n"); in PrintMallocStatsArray() 43 Printf("Stats: %zuM malloced (%zuM for overhead) by %zu calls\n", in Print() 45 Printf("Stats: %zuM realloced by %zu calls\n", realloced >> 20, reallocs); in Print() 46 Printf("Stats: %zuM freed by %zu calls\n", freed >> 20, frees); in Print() 47 Printf("Stats: %zuM really freed by %zu calls\n", really_freed >> 20, in Print() 49 Printf("Stats: %zuM (%zuM-%zuM) mmaped; %zu maps, %zu unmaps\n", in Print() 54 Printf("Stats: malloc large: %zu\n", malloc_large); in Print() 119 Printf("Stats: StackDepot: %zd ids; %zdM allocated\n", in PrintAccumulatedStats()
|
| /openbsd-src/gnu/llvm/lldb/source/Target/ |
| H A D | ThreadPlanRunToAddress.cpp | 92 s->Printf("run to address with no addresses given."); in GetDescription() 95 s->Printf("run to address: "); in GetDescription() 97 s->Printf("run to addresses: "); in GetDescription() 101 s->Printf(" "); in GetDescription() 105 s->Printf("run to address with no addresses given."); in GetDescription() 108 s->Printf("Run to address: "); in GetDescription() 110 s->Printf("Run to addresses: "); in GetDescription() 115 s->Printf("\n"); in GetDescription() 120 s->Printf(" using breakpoint: %d - ", m_break_ids[i]); in GetDescription() 126 s->Printf("but the breakpoint has been deleted."); in GetDescription() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Symbol/ |
| H A D | UnwindPlan.cpp | 120 s.Printf("CFA%+d", m_location.offset); in Dump() 130 s.Printf("AFA%+d", m_location.offset); in Dump() 140 s.Printf("=%s", other_reg_info->name); in Dump() 142 s.Printf("=reg(%u)", m_location.reg_num); in Dump() 165 s.Printf("reg(%u)", reg_num); in DumpRegisterName() 197 s.Printf("%+3d", m_value.reg.offset); in Dump() 212 s.Printf("RaSearch@SP%+d", m_value.ra_search_offset); in Dump() 228 s.Printf("0x%16.16" PRIx64 ": CFA=", base_addr + GetOffset()); in Dump() 230 s.Printf("%4" PRId64 ": CFA=", GetOffset()); in Dump() 235 s.Printf(" AFA="); in Dump() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Language/ObjC/ |
| H A D | CoreMedia.cpp | 56 stream.Printf("indefinite"); in CMTimeSummaryProvider() 61 stream.Printf("+oo"); in CMTimeSummaryProvider() 66 stream.Printf("-oo"); in CMTimeSummaryProvider() 74 stream.Printf("%" PRId64 " seconds", value); in CMTimeSummaryProvider() 77 stream.Printf("%" PRId64 " half seconds", value); in CMTimeSummaryProvider() 80 stream.Printf("%" PRId64 " third%sof a second", value, in CMTimeSummaryProvider() 84 stream.Printf("%" PRId64 " %" PRId32 "th%sof a second", value, timescale, in CMTimeSummaryProvider()
|
| /openbsd-src/gnu/llvm/lldb/source/Expression/ |
| H A D | REPL.cpp | 105 error_sp->Printf("REPL requires a running target process.\n"); in IOHandlerActivated() 193 error_sp->Printf("no such file at path '%s'\n", path.c_str()); in ReadCode() 197 error_sp->Printf("could not read file at path '%s'\n", path.c_str()); in ReadCode() 203 error_sp->Printf("file at path '%s' too large: " in ReadCode() 210 error_sp->Printf("could not create buffer for file at path '%s'\n", in ReadCode() 383 error_sp->Printf("%s\n", error.AsCString()); in IOHandlerInputComplete() 390 error_sp->Printf(ANSI_ESCAPE1(ANSI_FG_COLOR_RED)); in IOHandlerInputComplete() 391 error_sp->Printf(ANSI_ESCAPE1(ANSI_CTRL_BOLD)); in IOHandlerInputComplete() 393 error_sp->Printf("Execution interrupted. "); in IOHandlerInputComplete() 395 error_sp->Printf(ANSI_ESCAPE1(ANSI_CTRL_NORMAL)); in IOHandlerInputComplete() [all …]
|
| H A D | LLVMUserExpression.cpp | 84 diagnostic_manager.Printf( in DoExecute() 110 diagnostic_manager.Printf(eDiagnosticSeverityError, in DoExecute() 124 diagnostic_manager.Printf(eDiagnosticSeverityError, in DoExecute() 131 diagnostic_manager.Printf(eDiagnosticSeverityError, in DoExecute() 146 diagnostic_manager.Printf(eDiagnosticSeverityError, in DoExecute() 196 diagnostic_manager.Printf(eDiagnosticSeverityError, in DoExecute() 230 diagnostic_manager.Printf( in DoExecute() 238 diagnostic_manager.Printf( in DoExecute() 263 diagnostic_manager.Printf(eDiagnosticSeverityError, in FinalizeJITExecution() 275 diagnostic_manager.Printf(eDiagnosticSeverityError, in FinalizeJITExecution() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ObjectFile/PECOFF/ |
| H A D | ObjectFilePECOFF.cpp | 1187 s->Printf("%p: ", static_cast<void *>(this)); in Dump() 1225 s->Printf(" e_magic = 0x%4.4x\n", header.e_magic); in DumpDOSHeader() 1226 s->Printf(" e_cblp = 0x%4.4x\n", header.e_cblp); in DumpDOSHeader() 1227 s->Printf(" e_cp = 0x%4.4x\n", header.e_cp); in DumpDOSHeader() 1228 s->Printf(" e_crlc = 0x%4.4x\n", header.e_crlc); in DumpDOSHeader() 1229 s->Printf(" e_cparhdr = 0x%4.4x\n", header.e_cparhdr); in DumpDOSHeader() 1230 s->Printf(" e_minalloc = 0x%4.4x\n", header.e_minalloc); in DumpDOSHeader() 1231 s->Printf(" e_maxalloc = 0x%4.4x\n", header.e_maxalloc); in DumpDOSHeader() 1232 s->Printf(" e_ss = 0x%4.4x\n", header.e_ss); in DumpDOSHeader() 1233 s->Printf(" e_sp = 0x%4.4x\n", header.e_sp); in DumpDOSHeader() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Commands/ |
| H A D | CommandObjectHelp.cpp | 31 s->Printf("'%s' is not a known command.\n", command_str.c_str()); in GenerateAdditionalHelpAvenuesMessage() 32 s->Printf("Try '%shelp' to see a current list of commands.\n", in GenerateAdditionalHelpAvenuesMessage() 35 s->Printf("Try '%sapropos %s' for a list of related commands.\n", in GenerateAdditionalHelpAvenuesMessage() 39 s->Printf("Try '%stype lookup %s' for information on types, methods, " in GenerateAdditionalHelpAvenuesMessage() 138 s.Printf("ambiguous command %s", cmd_string.c_str()); in DoExecute() 141 s.Printf("\n\t%s", matches.GetStringAtIndex(match_idx)); in DoExecute() 143 s.Printf("\n"); in DoExecute() 157 result.GetOutputStream().Printf( in DoExecute() 171 result.GetOutputStream().Printf("\n'%s' is an abbreviation for %s\n", in DoExecute() 176 output_strm.Printf("Help requested with ambiguous command name, possible " in DoExecute() [all …]
|