Lines Matching refs:Printf
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
84 Printf("%s at 0x%zx %sby thread %s here:\n", gwp_asan::ErrorToString(E), in printHeader()
90 SegvBacktrace_t SegvBacktrace, Printf_t Printf, in dumpReport() argument
94 assert(Printf && "dumpReport missing Printf."); in dumpReport()
99 Printf("*** GWP-ASan detected a memory error ***\n"); in dumpReport()
100 ScopedEndOfReportDecorator Decorator(Printf); in dumpReport()
109 Printf("GWP-ASan cannot provide any more information about this error. " in dumpReport()
119 printHeader(E, ErrorPtr, AllocMeta, Printf); in dumpReport()
127 PrintBacktrace(Trace, TraceLength, Printf); in dumpReport()
136 Printf("0x%zx was deallocated by thread <unknown> here:\n", ErrorPtr); in dumpReport()
138 Printf("0x%zx was deallocated by thread %zu here:\n", ErrorPtr, ThreadID); in dumpReport()
141 PrintBacktrace(Trace, TraceLength, Printf); in dumpReport()
147 Printf("0x%zx was allocated by thread <unknown> here:\n", ErrorPtr); in dumpReport()
149 Printf("0x%zx was allocated by thread %zu here:\n", ErrorPtr, ThreadID); in dumpReport()
152 PrintBacktrace(Trace, TraceLength, Printf); in dumpReport()
197 void installSignalHandlers(gwp_asan::GuardedPoolAllocator *GPA, Printf_t Printf, in installSignalHandlers() argument
201 assert(Printf && "Printf wasn't provided to installSignalHandlers."); in installSignalHandlers()
207 PrintfForSignalHandler = Printf; in installSignalHandlers()