HomeSort by relevance Sort by last modified time
    Searched refs:Symbolizer (Results 1 - 25 of 31) sorted by null

1 2

  /external/compiler-rt/lib/sanitizer_common/
sanitizer_symbolizer.cc 68 Symbolizer *Symbolizer::symbolizer_;
69 StaticSpinMutex Symbolizer::init_mu_;
70 LowLevelAllocator Symbolizer::symbolizer_allocator_;
72 void Symbolizer::AddHooks(Symbolizer::StartSymbolizationHook start_hook,
73 Symbolizer::EndSymbolizationHook end_hook) {
79 const char *Symbolizer::ModuleNameOwner::GetOwnedCopy(const char *str) {
99 Symbolizer::Symbolizer(IntrusiveList<SymbolizerTool> tools
    [all...]
sanitizer_symbolizer.h 10 // Symbolizer is used by sanitizers to map instruction address to a location in
11 // source code at run-time. Symbolizer either uses __sanitizer_symbolize_*
13 // launch "llvm-symbolizer" commandline tool in a separate process and
80 class Symbolizer final {
82 /// Initialize and return platform-specific implementation of symbolizer
84 static Symbolizer *GetOrInit();
91 // The module names Symbolizer returns are stable and unique for every given
109 // Allow user to install hooks that would be called before/after Symbolizer
142 /// Platform-specific function for creating a Symbolizer object.
143 static Symbolizer *PlatformInit()
    [all...]
sanitizer_symbolizer_libcdep.cc 63 SymbolizedStack *Symbolizer::SymbolizePC(uptr addr) {
81 bool Symbolizer::SymbolizeData(uptr addr, DataInfo *info) {
99 bool Symbolizer::GetModuleNameAndOffsetForPC(uptr pc, const char **module_name,
112 void Symbolizer::Flush() {
120 const char *Symbolizer::Demangle(const char *name) {
130 void Symbolizer::PrepareForSandboxing() {
135 bool Symbolizer::FindModuleNameAndOffsetForAddress(uptr address,
146 const LoadedModule *Symbolizer::FindModuleForAddress(uptr address) {
170 Symbolizer *Symbolizer::GetOrInit()
    [all...]
sanitizer_symbolizer_win.cc 12 // Windows-specific implementation of symbolizer parts.
128 // Otherwise, try llvm-symbolizer.
143 const char *Symbolizer::PlatformDemangle(const char *name) {
147 void Symbolizer::PlatformPrepareForSandboxing() {
209 VReport(3, "Launching symbolizer command: %s\n", command_line.data());
211 // Launch llvm-symbolizer with stdin and stdout redirected.
238 // The llvm-symbolizer process is responsible for quitting itself when the
240 // leaks. If we ever want to try to kill the symbolizer process from the
250 VReport(2, "Symbolizer is disabled.\n");
254 // Add llvm-symbolizer in case the binary has dwarf
    [all...]
sanitizer_symbolizer_posix_libcdep.cc 12 // POSIX-specific implementation of symbolizer parts.
107 Report("WARNING: invalid path to external symbolizer!\n");
128 Report("WARNING: failed to fork external symbolizer (errno: %d)\n",
175 "external symbolizer (errno: %d)\n", errno);
208 // Check that symbolizer subprocess started successfully.
212 Report("WARNING: external symbolizer didn't start up correctly!\n");
406 const char *Symbolizer::PlatformDemangle(const char *name) {
410 void Symbolizer::PlatformPrepareForSandboxing() {}
416 VReport(2, "External symbolizer is explicitly disabled.\n");
418 } else if (!internal_strcmp(binary_name, "llvm-symbolizer")) {
    [all...]
sanitizer_stacktrace_libcdep.cc 35 SymbolizedStack *frames = Symbolizer::GetOrInit()->SymbolizePC(pc);
sanitizer_common_libcdep.cc 60 SymbolizedStack *frame = Symbolizer::GetOrInit()->SymbolizePC(pc);
sanitizer_coverage_libcdep.cc 123 void GetRangeOffsets(const NamedPcRange& r, Symbolizer* s,
362 auto sym = Symbolizer::GetOrInit();
612 auto sym = Symbolizer::GetOrInit();
662 auto sym = Symbolizer::GetOrInit();
763 void CoverageData::GetRangeOffsets(const NamedPcRange& r, Symbolizer* sym,
829 auto sym = Symbolizer::GetOrInit();
    [all...]
sanitizer_posix_libcdep.cc 230 // Same for /proc/self/exe in the symbolizer.
232 Symbolizer::GetOrInit()->PrepareForSandboxing();
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_symbolizer_test.cc 20 TEST(Symbolizer, ExtractToken) {
35 TEST(Symbolizer, ExtractInt) {
42 TEST(Symbolizer, ExtractUptr) {
49 TEST(Symbolizer, ExtractTokenUpToDelimiter) {
59 TEST(Symbolizer, DemangleSwiftAndCXX) {
  /external/llvm/lib/MC/MCDisassembler/
MCDisassembler.cpp 24 if (Symbolizer)
25 return Symbolizer->tryAddingSymbolicOperand(Inst, cStream, Value, Address,
33 if (Symbolizer)
34 Symbolizer->tryAddingPcLoadReferenceComment(cStream, Value, Address);
38 Symbolizer = std::move(Symzer);
Disassembler.cpp 79 std::unique_ptr<MCSymbolizer> Symbolizer(TheTarget->createMCSymbolizer(
81 DisAsm->setSymbolizer(std::move(Symbolizer));
  /external/compiler-rt/lib/tsan/rtl/
tsan_symbolize.cc 66 return Symbolizer::GetOrInit()->SymbolizePC(addr);
71 if (!Symbolizer::GetOrInit()->SymbolizeData(addr, &info))
79 Symbolizer::GetOrInit()->Flush();
  /external/llvm/include/llvm/MC/MCDisassembler/
MCDisassembler.h 57 : Ctx(Ctx), STI(STI), Symbolizer(), CommentStream(nullptr) {}
87 std::unique_ptr<MCSymbolizer> Symbolizer;
98 /// Set \p Symzer as the current symbolizer.
  /external/compiler-rt/lib/asan/
asan_suppressions.cc 78 Symbolizer *symbolizer = Symbolizer::GetOrInit(); local
85 if (const char *module_name = symbolizer->GetModuleNameForPc(addr))
91 SymbolizedStack *frames = symbolizer->SymbolizePC(addr);
asan_rtl.cc 568 Symbolizer::LateInitialize();
570 Symbolizer::LateInitialize();
  /external/llvm/tools/sanstats/
sanstats.cpp 64 symbolize::LLVMSymbolizer Symbolizer(SymbolizerOptions);
80 Symbolizer.symbolizeCode(Filename, Addr)) {
  /external/compiler-rt/lib/asan/scripts/
asan_symbolize.py 47 class Symbolizer(object):
67 class LLVMSymbolizer(Symbolizer):
96 """Overrides Symbolizer.symbolize."""
128 # Assume llvm-symbolizer is in PATH.
129 symbolizer_path = 'llvm-symbolizer'
133 class Addr2LineSymbolizer(Symbolizer):
154 """Overrides Symbolizer.symbolize."""
208 class DarwinSymbolizer(Symbolizer):
222 """Overrides Symbolizer.symbolize."""
242 # Chain several symbolizers so that if one symbolizer fails, we fall bac
    [all...]
  /external/compiler-rt/lib/stats/
stats.cc 65 const LoadedModule *mod = Symbolizer::GetOrInit()->FindModuleForAddress(
  /external/compiler-rt/lib/ubsan/
ubsan_diag.cc 107 return Symbolizer::GetOrInit()->SymbolizePC(PC);
188 Buffer->append("'%s'", Symbolizer::GetOrInit()->Demangle(A.String));
332 // This needs an external symbolizer, or (preferably) ASan instrumentation.
417 if (const char *Module = Symbolizer::GetOrInit()->GetModuleNameForPc(PC)) {
422 SymbolizedStackHolder Stack(Symbolizer::GetOrInit()->SymbolizePC(PC));
ubsan_handlers_cxx.cc 135 const char *module = Symbolizer::GetOrInit()->GetModuleNameForPc(Vtable);
  /prebuilts/go/darwin-x86/src/cmd/pprof/internal/plugin/
plugin.go 210 // A Symbolizer annotates a profile with symbol information.
213 type Symbolizer func(mode, src string, prof *profile.Profile, obj ObjTool, ui UI) error
  /prebuilts/go/linux-x86/src/cmd/pprof/internal/plugin/
plugin.go 210 // A Symbolizer annotates a profile with symbol information.
213 type Symbolizer func(mode, src string, prof *profile.Profile, obj ObjTool, ui UI) error
  /external/compiler-rt/lib/lsan/
lsan_common.cc 501 Symbolizer::GetOrInit()->GetModuleNameForPc(addr))
506 SymbolizedStack *frames = Symbolizer::GetOrInit()->SymbolizePC(addr);
  /external/llvm/tools/sancov/
sancov.cc 296 auto Symbolizer(createSymbolizer());
300 auto LineInfo = Symbolizer->symbolizeCode(ObjectFile, Addr);
307 auto InliningInfo = Symbolizer->symbolizeInlinedCode(ObjectFile, Addr);
    [all...]

Completed in 599 milliseconds

1 2