Home
last modified time | relevance | path

Searched refs:module_name (Results 1 – 25 of 41) sorted by relevance

12

/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libcdep.cc77 const char *module_name; in SymbolizePC() local
81 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset, in SymbolizePC()
85 res->info.FillModuleInfo(module_name, module_offset, arch); in SymbolizePC()
97 const char *module_name; in SymbolizeData() local
100 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset, in SymbolizeData()
104 info->module = internal_strdup(module_name); in SymbolizeData()
125 if (module_name) in GetModuleNameAndOffsetForPC()
126 *module_name = module_names_.GetOwnedCopy(internal_module_name); in GetModuleNameAndOffsetForPC()
155 *module_name = module->full_name(); in FindModuleNameAndOffsetForAddress()
373 CHECK(module_name); in FormatAndSendCommand()
[all …]
H A Dsanitizer_coverage_libcdep_new.cc48 static void WriteModuleCoverage(char* file_path, const char* module_name, in WriteModuleCoverage() argument
50 GetCoverageFilename(file_path, StripModuleName(module_name), "sancov"); in WriteModuleCoverage()
62 char* module_name = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage() local
84 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
91 __sanitizer_get_module_and_offset_for_pc(pc, module_name, kMaxPathLength, in SanitizerDumpCoverage()
97 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
102 InternalFree(module_name); in SanitizerDumpCoverage()
H A Dsanitizer_stacktrace_libcdep.cc86 static int GetModuleAndOffsetForPc(uptr pc, char *module_name, in GetModuleAndOffsetForPc() argument
94 if (module_name && module_name_len) { in GetModuleAndOffsetForPc()
95 internal_strncpy(module_name, found_module_name, module_name_len); in GetModuleAndOffsetForPc()
96 module_name[module_name_len - 1] = '\x00'; in GetModuleAndOffsetForPc()
153 uptr pc, char *module_name, uptr module_name_len, uptr *pc_offset) { in __sanitizer_get_module_and_offset_for_pc() argument
154 return __sanitizer::GetModuleAndOffsetForPc(pc, module_name, module_name_len, in __sanitizer_get_module_and_offset_for_pc()
H A Dsanitizer_symbolizer.h96 bool GetModuleNameAndOffsetForPC(uptr pc, const char **module_name,
99 const char *module_name = nullptr; in GetModuleNameForPc() local
101 if (GetModuleNameAndOffsetForPC(pc, &module_name, &unused)) in GetModuleNameForPc()
102 return module_name; in GetModuleNameForPc()
151 bool FindModuleNameAndOffsetForAddress(uptr address, const char **module_name,
H A Dsanitizer_symbolizer_posix_libcdep.cc256 Addr2LineProcess(const char *path, const char *module_name) in Addr2LineProcess() argument
257 : SymbolizerProcess(path), module_name_(internal_strdup(module_name)) {} in Addr2LineProcess()
259 const char *module_name() const { return module_name_; } in module_name() function in __sanitizer::Addr2LineProcess
336 const char *SendCommand(const char *module_name, uptr module_offset) { in SendCommand() argument
340 internal_strcmp(module_name, addr2line_pool_[i]->module_name())) { in SendCommand()
347 new(*allocator_) Addr2LineProcess(addr2line_path_, module_name); in SendCommand()
350 CHECK_EQ(0, internal_strcmp(module_name, addr2line->module_name())); in SendCommand()
H A Dsanitizer_procmaps_common.cc124 InternalScopedString module_name(kMaxPathLength); in DumpListOfModules() local
125 MemoryMappedSegment segment(module_name.data(), module_name.size()); in DumpListOfModules()
H A Dsanitizer_common.cc131 void LoadedModule::set(const char *module_name, uptr base_address) { in set() argument
133 full_name_ = internal_strdup(module_name); in set()
137 void LoadedModule::set(const char *module_name, uptr base_address, in set() argument
140 set(module_name, base_address); in set()
H A Dsanitizer_linux_libcdep.cc546 InternalScopedString module_name(kMaxPathLength); in dl_iterate_phdr_cb() local
550 ReadBinaryNameCached(module_name.data(), module_name.size()); in dl_iterate_phdr_cb()
552 module_name.append("%s", info->dlpi_name); in dl_iterate_phdr_cb()
554 if (module_name[0] == '\0') in dl_iterate_phdr_cb()
557 cur_module.set(module_name.data(), info->dlpi_addr); in dl_iterate_phdr_cb()
H A Dsanitizer_win.cc610 char module_name[kMaxPathLength]; in init() local
613 &module_name[0], kMaxPathLength, NULL, NULL); in init()
614 module_name[module_name_len] = '\0'; in init()
623 uptr preferred_base = GetPreferredBase(&module_name[0]); in init()
627 cur_module.set(module_name, adjusted_base); in init()
H A Dsanitizer_win_weak_interception.cc24 void *WINAPI GetModuleHandleA(const char *module_name);
H A Dsanitizer_win_dll_thunk.cc21 void *WINAPI GetModuleHandleA(const char *module_name);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Breakpoint/
H A DBreakpointResolverAddress.cpp44 llvm::StringRef module_name; in CreateFromStructuredData() local
60 GetKey(OptionNames::ModuleName), module_name); in CreateFromStructuredData()
65 module_filespec.SetFile(module_name, FileSpec::Style::native); in CreateFromStructuredData()
77 ConstString module_name; in SerializeToStructuredData() local
79 module_name.SetCString(module_name.GetCString()); in SerializeToStructuredData()
82 module_name.GetCString()); in SerializeToStructuredData()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DSectionLoadList.cpp142 std::string module_name("<Unknown>"); in SetSectionUnloaded() local
146 module_name = module_file_spec.GetPath(); in SetSectionUnloaded()
149 static_cast<void *>(section_sp.get()), module_name.c_str(), in SetSectionUnloaded()
177 std::string module_name("<Unknown>"); in SetSectionUnloaded() local
180 module_name = module_file_spec.GetPath(); in SetSectionUnloaded()
186 module_name.c_str(), section_sp->GetName().AsCString(), load_addr); in SetSectionUnloaded()
H A DStackFrameRecognizer.cpp98 ConstString module_name = module_sp->GetFileSpec().GetFilename(); in GetRecognizerForFrame() local
107 if (entry.module != module_name) continue; in GetRecognizerForFrame()
110 if (!entry.module_regexp->Execute(module_name.GetStringRef())) continue; in GetRecognizerForFrame()
/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_globals.cc90 g.module_name, g.has_dynamic_init, (void *)g.odr_indicator); in ReportGlobal()
301 const char *res = g.module_name; in GlobalFilename()
387 globals[i].name == nullptr && globals[i].module_name == nullptr && in __asan_register_globals()
421 void __asan_before_dynamic_init(const char *module_name) { in __asan_before_dynamic_init() argument
427 CHECK(module_name); in __asan_before_dynamic_init()
431 Printf("DynInitPoison module: %s\n", module_name); in __asan_before_dynamic_init()
437 if (g->module_name != module_name) in __asan_before_dynamic_init()
H A Dasan_suppressions.cc79 if (const char *module_name = symbolizer->GetModuleNameForPc(addr)) in IsStackTraceSuppressed() local
80 if (suppression_ctx->Match(module_name, kInterceptorViaLibrary, &s)) in IsStackTraceSuppressed()
H A Dasan_interface_internal.h54 const char *module_name; // Module name as a C string. This pointer is a member
85 void __asan_before_dynamic_init(const char *module_name);
/freebsd-12.1/stand/lua/
H A Dconfig.lua286 local module_name = v.name or k
287 if blacklist[module_name] ~= nil then
289 print(MSG_MODBLACKLIST:format(module_name))
294 loader.printc(module_name .. "...")
300 str = str .. module_name
/freebsd-12.1/contrib/gdb/include/
H A Doasys.h64 char *module_name; member
135 char module_name[26-6]; member
H A Dieee.h28 char *module_name; member
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDIE.cpp264 const char *module_name = dwo_module_die.GetName(); in GetContainingDWOModule() local
265 if (module_name) in GetContainingDWOModule()
266 return GetDWARF()->GetDWOModule(lldb_private::ConstString(module_name)); in GetContainingDWOModule()
/freebsd-12.1/contrib/gcc/
H A Dvmsdbgout.c712 char *module_name, *m; in write_modbeg() local
718 module_name = xstrdup (basename ((char *) primary_filename)); in write_modbeg()
720 m = strrchr (module_name, '.'); in write_modbeg()
724 modnamelen = strlen (module_name); in write_modbeg()
726 module_name[i] = TOUPPER (module_name[i]); in write_modbeg()
740 modbeg.dst_b_modbeg_name = strlen (module_name); in write_modbeg()
758 totsize += write_debug_string (module_name, "module name", dosizeonly); in write_modbeg()
/freebsd-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBTarget.cpp754 const char *module_name) { in BreakpointCreateByName() argument
766 if (module_name && module_name[0]) { in BreakpointCreateByName()
768 module_spec_list.Append(FileSpec(module_name)); in BreakpointCreateByName()
782 static_cast<void *>(target_sp.get()), symbol_name, module_name, in BreakpointCreateByName()
892 const char *module_name) { in BreakpointCreateByRegex() argument
895 if (module_name && module_name[0]) { in BreakpointCreateByRegex()
896 module_spec_list.Append(FileSpec(module_name)); in BreakpointCreateByRegex()
993 const char *module_name) { in BreakpointCreateBySourceRegex() argument
996 if (module_name && module_name[0]) { in BreakpointCreateBySourceRegex()
997 module_spec_list.Append(FileSpec(module_name)); in BreakpointCreateBySourceRegex()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/API/
H A DSBTarget.h610 const char *module_name = nullptr);
655 const char *module_name = nullptr);
669 const char *module_name = nullptr);
/freebsd-12.1/usr.bin/netstat/
H A Dnlist_symbols3 # module_name symbol_name

12