| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | report.cpp | 43 ScopedErrorReport Report; in reportCheckFailed() local 50 ScopedErrorReport Report; in reportError() local 62 ScopedErrorReport Report; in reportInvalidFlag() local 69 ScopedErrorReport Report; in reportHeaderCorruption() local 76 ScopedErrorReport Report; in reportSanityCheckError() local 83 ScopedErrorReport Report; in reportAlignmentTooBig() local 92 ScopedErrorReport Report; in reportAllocationSizeTooBig() local 99 ScopedErrorReport Report; in reportOutOfBatchClass() local 150 Report.append( in reportDeleteSizeMismatch() 157 Report.append( in reportAlignmentNotPowerOfTwo() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
| H A D | MPIBugReporter.cpp | 33 auto Report = std::make_unique<PathSensitiveBugReport>( in reportDoubleNonblocking() local 36 Report->addRange(MPICallEvent.getSourceRange()); in reportDoubleNonblocking() 40 Report->addRange(Range); in reportDoubleNonblocking() 44 Report->markInteresting(RequestRegion); in reportDoubleNonblocking() 46 BReporter.emitReport(std::move(Report)); in reportDoubleNonblocking() 61 Report->addRange(Range); in reportMissingWait() 64 Report->markInteresting(RequestRegion); in reportMissingWait() 66 BReporter.emitReport(std::move(Report)); in reportMissingWait() 79 Report->addRange(CE.getSourceRange()); in reportUnmatchedWait() 82 Report->addRange(Range); in reportUnmatchedWait() [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator_report.cpp | 47 Report("ERROR: %s: calloc parameters overflow: count * size (%zd * %zd) " in ReportCallocOverflow() 58 Report( in ReportReallocArrayOverflow() 69 Report("ERROR: %s: pvalloc parameters overflow: size 0x%zx rounded up to " in ReportPvallocOverflow() 80 Report("ERROR: %s: invalid allocation alignment: %zd, alignment must be a " in ReportInvalidAllocationAlignment() 91 Report("ERROR: %s: invalid alignment requested in " in ReportInvalidAlignedAllocAlignment() 96 Report("ERROR: %s: invalid alignment requested in aligned_alloc: %zd, " in ReportInvalidAlignedAllocAlignment() 109 Report( in ReportInvalidPosixMemalignAlignment() 122 Report("ERROR: %s: requested allocation size 0x%zx exceeds maximum " in ReportAllocationSizeTooBig() 139 Report("ERROR: %s: allocator exceeded the RSS limit\n", SanitizerToolName); in ReportRssLimitExceeded()
|
| H A D | sanitizer_symbolizer_report.cpp | 160 Report("WARNING: %s: writable-executable page usage\n", SanitizerToolName); in ReportMmapWriteExec() 183 Report("Hint: PC is at a non-executable region. Maybe a wild jump?\n"); in MaybeReportNonExecRegion() 208 Report("%s", str.data()); in MaybeDumpInstructionBytes() 222 Report("ERROR: %s: %s on address %p (pc %p bp %p sp %p T%d)\n", in ReportStackOverflowImpl() 241 Report("ERROR: %s: %s on unknown address (pc %p bp %p sp %p T%d)\n", in ReportDeadlySignalImpl() 245 Report("ERROR: %s: %s on unknown address %p (pc %p bp %p sp %p T%d)\n", in ReportDeadlySignalImpl() 250 Report("Hint: pc points to the zero page.\n"); in ReportDeadlySignalImpl() 256 Report("The signal is caused by a %s memory access.\n", access_type); in ReportDeadlySignalImpl() 258 Report("Hint: this fault was caused by a dereference of a high value " in ReportDeadlySignalImpl() 262 Report("Hint: address points to the zero page.\n"); in ReportDeadlySignalImpl() [all …]
|
| H A D | sanitizer_symbolizer_win.cpp | 95 Report("*** WARNING: Failed to initialize DbgHelp! ***\n"); in InitializeDbgHelpIfNeeded() 96 Report("*** Most likely this means that the app is already ***\n"); in InitializeDbgHelpIfNeeded() 97 Report("*** using DbgHelp, possibly with incompatible flags. ***\n"); in InitializeDbgHelpIfNeeded() 98 Report("*** Due to technical reasons, symbolization might crash ***\n"); in InitializeDbgHelpIfNeeded() 99 Report("*** or produce wrong results. ***\n"); in InitializeDbgHelpIfNeeded() 112 Report("*** WARNING: Failed to SymGetSearchPathW ***\n"); in InitializeDbgHelpIfNeeded() 122 Report("*** WARNING: Failed to getting the EXE directory ***\n"); in InitializeDbgHelpIfNeeded() 131 Report("*** WARNING: Failed to SymSetSearchPathW\n"); in InitializeDbgHelpIfNeeded()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_errors.cpp | 96 Report( in Print() 104 Report( in Print() 135 Report( in Print() 143 Report( in Print() 156 Report( in Print() 169 Report( in Print() 182 Report( in Print() 195 Report( in Print() 209 Report( in Print() 242 Report( in Print() [all …]
|
| H A D | asan_flags.cpp | 139 Report("%s: detect_leaks is not supported on this platform.\n", in InitializeFlags() 162 Report("%s: please use either 'quarantine_size' (deprecated) or " in InitializeFlags() 184 Report("%s: thread_local_quarantine_size_kb can be set to 0 only when " in InitializeFlags() 189 Report("WARNING: strlen interceptor is enabled even though replace_str=0. " in InitializeFlags() 193 Report("WARNING: strchr* interceptors are enabled even though " in InitializeFlags() 197 Report("WARNING: strndup* interceptors are enabled even though " in InitializeFlags()
|
| H A D | asan_shadow_setup.cpp | 48 Report("This might be related to ELF_ET_DYN_BASE change in Linux 4.12.\n"); in MaybeReportLinuxPIEBug() 49 Report( in MaybeReportLinuxPIEBug() 112 Report( in InitializeShadowMemory() 115 Report("ASan shadow was supposed to be located in the [%p-%p] range.\n", in InitializeShadowMemory()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/xray/ |
| H A D | xray_utils.cpp | 61 Report("Failed to resize VMO: %s\n", _zx_status_get_string(Status)); in WriteAll() 69 Report("Failed to write: %s\n", _zx_status_get_string(Status)); in WriteAll() 88 Report("XRay: cannot create VMO: %s\n", _zx_status_get_string(Status)); in Open() 97 Report("XRay: cannot get basic info about current process handle: %s\n", in Open() 113 Report("XRay: cannot duplicate VMO handle: %s\n", in Open() 124 Report("XRay: " FORMAT_DUMPFILE "\n", ProfileSinkName, VmoName); in Open() 148 Report("Failed to write; errno = %d\n", errno); 177 Report("XRay log file name too long (%d): %s\n", NeededLength, TmpFilename); 182 Report("XRay: Failed opening temporary file '%s'; not logging events.\n", 187 Report("XRay: Log file in '%s'\n", TmpFilename);
|
| H A D | xray_fdr_logging.cpp | 199 Report( in fdrIterator() 285 Report("Not flushing log, implementation is not finalized.\n"); in fdrLoggingFlush() 293 Report("Not flushing log, implementation is still flushing.\n"); in fdrLoggingFlush() 299 Report("Cannot flush when global buffer queue is null.\n"); in fdrLoggingFlush() 326 Report("XRay FDR: Not flushing to file, 'no_file_flush=true'.\n"); in fdrLoggingFlush() 394 Report("Cannot finalize log, implementation not initialized.\n"); in fdrLoggingFinalize() 572 Report("Custom event size too large; truncating to %d.\n", in fdrLoggingHandleCustomEvent() 602 Report("Typed event size too large; truncating to %d.\n", in fdrLoggingHandleTypedEvent() 631 Report("Initializing FDR mode with options: %s\n", in fdrLoggingInit() 671 Report("BufferQueue init failed.\n"); in fdrLoggingInit() [all …]
|
| H A D | xray_profiling.cpp | 211 Report("Not flushing profiles, profiling not been finalized.\n"); in profilingFlush() 218 Report("Cannot finalize properly inside a signal handler!\n"); in profilingFlush() 230 Report("Not flushing profiles, implementation still flushing.\n"); in profilingFlush() 242 Report("profiling: No data to flush.\n"); in profilingFlush() 247 Report("profiling: Failed to flush to file, dropping data.\n"); in profilingFlush() 321 Report("Cannot finalize profile, the profiling is not initialized.\n"); in profilingFinalize() 363 Report("Cannot initialize already initialised profiling " in profilingLoggingInit() 398 Report("Failed to initialize preallocated memory buffers!"); in profilingLoggingInit() 414 Report("Failed to initialize preallocated memory buffers; error: %s", in profilingLoggingInit() 469 Report("XRay Profile flushed at exit."); in profilingLoggingInit() [all …]
|
| H A D | xray_x86_64.cpp | 37 Report("Read error; errno = %d\n", errno); in retryingReadSome() 81 Report("Unable to determine CPU frequency for TSC accounting.\n"); in getTSCFrequency() 99 Report("Unable to determine CPU frequency for TSC accounting.\n"); 151 Report("XRay Entry trampoline (%p) too far from sled (%p)\n", in patchFunctionEntry() 198 Report("XRay Exit trampoline (%p) too far from sled (%p)\n", in patchFunctionExit() 228 Report("XRay Tail Exit trampoline (%p) too far from sled (%p)\n", in patchFunctionTailExit() 321 Report("Missing rdtscp support.\n"); in probeRequiredCPUFeatures() 327 Report("Unable to determine CPU frequency.\n"); in probeRequiredCPUFeatures()
|
| H A D | xray_basic_logging.cpp | 129 Report("Not initializing TLD since ThreadBufferSize == 0.\n"); in getThreadLocalData() 141 Report("Not initializing the ShadowStack since MaxStackDepth == 0.\n"); in getThreadLocalData() 311 Report("clock_gettimg(2) return %d, errno=%d.", result, int(errno)); in basicLoggingHandleArg0EmulateTSC() 331 Report("clock_gettimg(2) return %d, errno=%d.", result, int(errno)); in basicLoggingHandleArg1EmulateTSC() 348 Report("Cleaned up log for TID: %llu\n", GetTid()); in TLDDestructor() 353 Report("Skipping buffer for TID: %llu; Offset = %zu\n", GetTid(), in TLDDestructor() 379 Report("Basic logging already initialized.\n"); in basicLoggingInit() 393 Report("WARNING: Required CPU features missing for XRay instrumentation, " in basicLoggingInit() 447 Report("Basic logging already finalized.\n"); in basicLoggingFinalize() 475 Report("Cannot register XRay Basic Mode to 'xray-basic'; error = %d\n", in basicLogDynamicInitializer() [all …]
|
| H A D | xray_allocator.h | 46 Report("XRay Profiling: Failed to create VMO of size %zu: %s\n", in allocate() 57 Report("XRay Profiling: Failed to map VMAR of size %zu: %s\n", sizeof(T), in allocate() 68 Report("XRay Profiling: Failed to allocate memory of size %zu; Error = " in allocate() 97 Report("XRay Profiling: Failed to create VMO of size %zu: %s\n", S, in allocateBuffer() 107 Report("XRay Profiling: Failed to map VMAR of size %zu: %s\n", S, in allocateBuffer() 117 Report("XRay Profiling: Failed to allocate memory of size %zu; Error = " in allocateBuffer() 186 Report("XRay Profiling: Failed to allocate memory for allocator\n"); in Alloc() 200 Report("XRay Profiling: Cannot obtain enough memory from " in Alloc()
|
| H A D | xray_interface.cpp | 120 Report("XRay: cannot change code protection: %s\n", in MakeWriteable() 141 Report("XRay: cannot change code protection: %s\n", in ~MProtectHelper() 176 Report("Unsupported sled kind '%" PRIu64 "' @%04x\n", Sled.Address, in patchSled() 233 Report("Invalid function id provided: %d\n", FuncId); in patchFunction() 254 Report("Failed patching any sled for function '%d'.", FuncId); in patchFunction() 315 Report("System page size is not a power of two: %zu\n", PageSize); in controlPatching() 326 Report("Failed mprotect: %d\n", errno); in controlPatching() 358 Report("Invalid function id provided: %d\n", FuncId); in mprotectAndPatchFunction() 366 Report("Provided page size is not a power of two: %zu\n", PageSize); in mprotectAndPatchFunction() 398 Report("Failed mprotect: %d\n", errno); in mprotectAndPatchFunction()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Warnings.cpp | 38 Diags.Report(diag::warn_unknown_diag_option) in EmitUnknownDiagWarning() 80 for (unsigned Report = 0, ReportEnd = 2; Report != ReportEnd; ++Report) { in ProcessWarningOptions() local 81 bool SetDiagnostic = (Report == 0); in ProcessWarningOptions() 137 if (Report) in ProcessWarningOptions() 138 Diags.Report(diag::warn_unknown_warning_specifier) in ProcessWarningOptions() 165 if (Report) in ProcessWarningOptions() 166 Diags.Report(diag::warn_unknown_warning_specifier) in ProcessWarningOptions() 188 if (Report) { in ProcessWarningOptions() 216 if (Report) { in ProcessWarningOptions()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ReturnPointerRangeChecker.cpp | 86 auto Report = std::make_unique<PathSensitiveBugReport>(BT, Msg, N); in checkPreStmt() local 87 Report->addRange(RetE->getSourceRange()); in checkPreStmt() 95 Report->addNote("Original object declared here", in checkPreStmt() 115 Report->addNote(SBuf, in checkPreStmt() 119 bugreporter::trackExpressionValue(N, RetE, *Report); in checkPreStmt() 121 C.emitReport(std::move(Report)); in checkPreStmt()
|
| H A D | MacOSKeychainAPIChecker.cpp | 239 Report->addRange(ArgExpr->getSourceRange()); in generateDeallocatorMismatchReport() 240 markInteresting(Report.get(), AP); in generateDeallocatorMismatchReport() 241 C.emitReport(std::move(Report)); in generateDeallocatorMismatchReport() 282 Report->addRange(ArgExpr->getSourceRange()); in checkPreStmt() 283 Report->markInteresting(AS->Region); in checkPreStmt() 284 C.emitReport(std::move(Report)); in checkPreStmt() 335 Report->addRange(ArgExpr->getSourceRange()); in checkPreStmt() 337 Report->markInteresting(AS->Region); in checkPreStmt() 338 C.emitReport(std::move(Report)); in checkPreStmt() 490 markInteresting(Report.get(), AP); in generateAllocatedDataNotReleasedReport() [all …]
|
| H A D | StackAddrEscapeChecker.cpp | 204 auto Report = std::make_unique<PathSensitiveBugReport>( in checkAsyncExecutedBlockCaptures() local 207 Report->addRange(Range); in checkAsyncExecutedBlockCaptures() 208 C.emitReport(std::move(Report)); in checkAsyncExecutedBlockCaptures() 231 Report->addRange(Range); in checkReturnedBlockCaptures() 232 C.emitReport(std::move(Report)); in checkReturnedBlockCaptures() 385 auto Report = in checkEndFunction() local 388 Report->addRange(Range); in checkEndFunction() 389 Ctx.emitReport(std::move(Report)); in checkEndFunction() 415 auto Report = in checkEndFunction() local 418 Report->addRange(Range); in checkEndFunction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Lex/ |
| H A D | ModuleMap.cpp | 245 Diags.Report(Header.FileNameLoc, in findHeader() 1857 auto D = Diags.Report(ActiveModule->DefinitionLoc, in diagnosePrivateModules() 1878 Diags.Report(ActiveModule->DefinitionLoc, in diagnosePrivateModules() 1901 Diags.Report(ActiveModule->DefinitionLoc, in diagnosePrivateModules() 2221 Diags.Report(LBraceLoc, diag::note_mmap_lbrace_match); in parseModuleDecl() 2462 Diags.Report(Tok.getLocation(), in parseHeaderDecl() 2475 Diags.Report(Tok.getLocation(), in parseHeaderDecl() 2539 Diags.Report(DirNameLoc, diag::err_mmap_umbrella_clash) in parseUmbrellaDirDecl() 2868 Diags.Report(ActiveModule->InferredSubmoduleLoc, in parseInferredModuleDecl() 2962 Diags.Report(Tok.getLocation(), in parseInferredModuleDecl() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/tools/driver/ |
| H A D | cc1gen_reproducer_main.cpp | 135 Driver::CompilationDiagnosticReport Report; in generateReproducerForInvocationArguments() local 137 *C, *Cmd, generateReproducerMetaInfo(Info), &Report); in generateReproducerForInvocationArguments() 138 return Report; in generateReproducerForInvocationArguments() 150 const driver::Driver::CompilationDiagnosticReport &Report) { in printReproducerInformation() argument 154 for (const auto &File : llvm::enumerate(Report.TemporaryFiles)) { in printReproducerInformation() 190 std::optional<driver::Driver::CompilationDiagnosticReport> Report = in cc1gen_reproducer_main() local 196 if (Report) { in cc1gen_reproducer_main() 197 printReproducerInformation(llvm::outs(), InvocationInfo, *Report); in cc1gen_reproducer_main()
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_ubsan.c | 252 static void Report(bool isFatal, const char *pFormat, ...) __printflike(2, 3); 417 Report(isFatal, "UBSan: Undefined Behavior in %s, %s null pointer of type %s\n", in HandleTypeMismatch() 1182 Report(bool isFatal, const char *pFormat, ...) in Report() function 1303 Report(true, "UBSan: Unknown variable type %#04" PRIx16 "\n", pType->mTypeKind); in zDeserializeTypeWidth() 1485 Report(true, "UBSan: Unexpected %zu-Bit Type in %s\n", zNumberWidth, szLocation); 1491 Report(true, "UBSan: Unexpected 128-Bit Type in %s\n", szLocation); 1527 Report(true, "UBSan: Unexpected %zu-Bit Type in %s\n", zNumberWidth, szLocation); 1534 Report(true, "UBSan: Unexpected 128-Bit Type in %s\n", szLocation); 1570 Report(true, "UBSan: Unexpected %zu-Bit Type in %s\n", zNumberWidth, szLocation); 1613 Report(true, "UBSan: Unexpected Float Type in %s\n", szLocation); [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/cert/ |
| H A D | PutenvWithAutoChecker.cpp | 55 auto Report = std::make_unique<PathSensitiveBugReport>(BT, ErrorMsg, N); in checkPostCall() local 58 bugreporter::trackExpressionValue(Report->getErrorNode(), ArgExpr, *Report); in checkPostCall() 60 C.emitReport(std::move(Report)); in checkPostCall()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 403 Diags.Report(diag::err_drv_invalid_value) in normalizeSimpleEnum() 451 Diags.Report(diag::err_drv_invalid_int_value) in normalizeStringIntegral() 592 Diags.Report(diag::warn_c_kext); in FixupInvocation() 597 Diags.Report(diag::err_fe_invalid_alignment) in FixupInvocation() 1046 Diags.Report(diag::err_drv_invalid_value) in ParseAnalyzerArgs() 1066 Diags.Report(diag::err_drv_invalid_value) in ParseAnalyzerArgs() 1081 Diags.Report(diag::err_drv_invalid_value) in ParseAnalyzerArgs() 1096 Diags.Report(diag::err_drv_invalid_value) in ParseAnalyzerArgs() 1130 Diags.Report(SourceLocation(), in ParseAnalyzerArgs() 1135 Diags.Report(SourceLocation(), in ParseAnalyzerArgs() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 99 Diags.Report(diag::err_cannot_open_file) in reportOptRecordError() 545 Diags.Report(Loc, DiagID).AddString(Message); in SrcMgrDiagHandler() 560 Diags.Report(LocCookie, DiagID).AddString(Message); in InlineAsmDiagHandler() 567 Diags.Report(Loc, DiagID).AddString(Message); in InlineAsmDiagHandler() 584 Diags.Report(*Loc, diag::warn_fe_frame_larger_than) in StackSizeDiagHandler() 598 Diags.Report(*Loc, DiagID) in ResourceLimitDiagHandler() 640 Diags.Report(Loc, diag::note_fe_backend_invalid_loc) in getBestLocationFromDebugLoc() 682 Diags.Report(Loc, DiagType) << MsgStream.str(); in UnsupportedDiagHandler() 719 Diags.Report(Loc, DiagID) in EmitOptimizationMessage() 929 Diags.Report(Loc, DiagID).AddString(MsgStorage); in DiagnosticHandlerImpl() [all …]
|