Home
last modified time | relevance | path

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

12

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_libcdep.cpp87 const char *module_name = nullptr; in SymbolizePC() local
91 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset, in SymbolizePC()
95 res->info.FillModuleInfo(module_name, module_offset, arch); in SymbolizePC()
107 const char *module_name = nullptr; in SymbolizeData() local
110 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset, in SymbolizeData()
114 info->module = internal_strdup(module_name); in SymbolizeData()
128 const char *module_name = nullptr; in SymbolizeFrame() local
130 addr, &module_name, &info->module_offset, &info->module_arch)) in SymbolizeFrame()
132 info->module = internal_strdup(module_name); in SymbolizeFrame()
142 bool Symbolizer::GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, in GetModuleNameAndOffsetForPC() argument
[all …]
Dsanitizer_coverage_libcdep_new.cpp47 static void WriteModuleCoverage(char* file_path, const char* module_name, in WriteModuleCoverage() argument
49 GetCoverageFilename(file_path, StripModuleName(module_name), "sancov"); in WriteModuleCoverage()
61 char* module_name = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage() local
83 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
90 __sanitizer_get_module_and_offset_for_pc(pc, module_name, kMaxPathLength, in SanitizerDumpCoverage()
96 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
101 InternalFree(module_name); in SanitizerDumpCoverage()
Dsanitizer_symbolizer_posix_libcdep.cpp206 Addr2LineProcess(const char *path, const char *module_name) in Addr2LineProcess() argument
207 : SymbolizerProcess(path), module_name_(internal_strdup(module_name)) {} in Addr2LineProcess()
209 const char *module_name() const { return module_name_; } in module_name() function in __sanitizer::Addr2LineProcess
286 const char *SendCommand(const char *module_name, uptr module_offset) { in SendCommand() argument
290 internal_strcmp(module_name, addr2line_pool_[i]->module_name())) { in SendCommand()
297 new(*allocator_) Addr2LineProcess(addr2line_path_, module_name); in SendCommand()
300 CHECK_EQ(0, internal_strcmp(module_name, addr2line->module_name())); in SendCommand()
Dsanitizer_symbolizer.h123 bool GetModuleNameAndOffsetForPC(uptr pc, const char **module_name,
126 const char *module_name = nullptr; in GetModuleNameForPc() local
128 if (GetModuleNameAndOffsetForPC(pc, &module_name, &unused)) in GetModuleNameForPc()
129 return module_name; in GetModuleNameForPc()
178 bool FindModuleNameAndOffsetForAddress(uptr address, const char **module_name,
Dsanitizer_stacktrace_libcdep.cpp169 static int GetModuleAndOffsetForPc(uptr pc, char *module_name, in GetModuleAndOffsetForPc() argument
177 if (module_name && module_name_len) { in GetModuleAndOffsetForPc()
178 internal_strncpy(module_name, found_module_name, module_name_len); in GetModuleAndOffsetForPc()
179 module_name[module_name_len - 1] = '\x00'; in GetModuleAndOffsetForPc()
219 int __sanitizer_get_module_and_offset_for_pc(uptr pc, char *module_name, in __sanitizer_get_module_and_offset_for_pc() argument
222 return __sanitizer::GetModuleAndOffsetForPc(pc, module_name, module_name_len, in __sanitizer_get_module_and_offset_for_pc()
Dsanitizer_procmaps_common.cpp123 InternalMmapVector<char> module_name(kMaxPathLength); in DumpListOfModules() local
124 MemoryMappedSegment segment(module_name.data(), module_name.size()); in DumpListOfModules()
Dsanitizer_linux_libcdep.cpp591 static int AddModuleSegments(const char *module_name, dl_phdr_info *info, in AddModuleSegments() argument
593 if (module_name[0] == '\0') in AddModuleSegments()
596 cur_module.set(module_name, info->dlpi_addr); in AddModuleSegments()
615 InternalMmapVector<char> module_name(kMaxPathLength); in dl_iterate_phdr_cb() local
618 ReadBinaryNameCached(module_name.data(), module_name.size()); in dl_iterate_phdr_cb()
619 return AddModuleSegments(module_name.data(), info, data->modules); in dl_iterate_phdr_cb()
623 InternalScopedString module_name; in dl_iterate_phdr_cb() local
624 module_name.append("%s", info->dlpi_name); in dl_iterate_phdr_cb()
625 return AddModuleSegments(module_name.data(), info, data->modules); in dl_iterate_phdr_cb()
Dsanitizer_common.cpp129 void LoadedModule::set(const char *module_name, uptr base_address) { in set() argument
131 full_name_ = internal_strdup(module_name); in set()
135 void LoadedModule::set(const char *module_name, uptr base_address, in set() argument
138 set(module_name, base_address); in set()
Dsanitizer_procmaps_mac.cpp357 InternalMmapVector<char> module_name(kMaxPathLength); in DumpListOfModules() local
358 MemoryMappedSegment segment(module_name.data(), module_name.size()); in DumpListOfModules()
Dsanitizer_win.cpp644 InternalMmapVector<char> module_name(kMaxPathLength); in init() local
659 CP_UTF8, 0, &modname_utf16[0], modname_utf16_len + 1, &module_name[0], in init()
661 module_name[module_name_len] = '\0'; in init()
671 GetPreferredBase(&module_name[0], &buf[0], buf.size()); in init()
676 cur_module.set(&module_name[0], adjusted_base); in init()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Breakpoint/
DBreakpointResolverAddress.cpp39 llvm::StringRef module_name; in CreateFromStructuredData() local
55 GetKey(OptionNames::ModuleName), module_name); in CreateFromStructuredData()
60 module_filespec.SetFile(module_name, FileSpec::Style::native); in CreateFromStructuredData()
72 ConstString module_name; in SerializeToStructuredData() local
74 module_name.SetCString(module_name.GetCString()); in SerializeToStructuredData()
77 module_name.GetCString()); in SerializeToStructuredData()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Target/
DStackFrameRecognizer.cpp71 std::string module_name; in ForEach() local
75 module_name = entry.module_regexp->GetText().str(); in ForEach()
79 callback(entry.recognizer_id, entry.recognizer->GetName(), module_name, in ForEach()
115 ConstString module_name = module_sp->GetFileSpec().GetFilename(); in GetRecognizerForFrame() local
124 if (entry.module != module_name) in GetRecognizerForFrame()
128 if (!entry.module_regexp->Execute(module_name.GetStringRef())) in GetRecognizerForFrame()
DSectionLoadList.cpp143 std::string module_name("<Unknown>"); in SetSectionUnloaded() local
147 module_name = module_file_spec.GetPath(); in SetSectionUnloaded()
150 static_cast<void *>(section_sp.get()), module_name.c_str(), in SetSectionUnloaded()
178 std::string module_name("<Unknown>"); in SetSectionUnloaded() local
181 module_name = module_file_spec.GetPath(); in SetSectionUnloaded()
188 module_name.c_str(), section_sp->GetName().AsCString(), load_addr); in SetSectionUnloaded()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/asan/
Dasan_globals.cpp89 g.module_name, g.has_dynamic_init, (void *)g.odr_indicator); in ReportGlobal()
300 const char *res = g.module_name; in GlobalFilename()
385 globals[i].name == nullptr && globals[i].module_name == nullptr && in __asan_register_globals()
419 void __asan_before_dynamic_init(const char *module_name) { in __asan_before_dynamic_init() argument
425 CHECK(module_name); in __asan_before_dynamic_init()
429 Printf("DynInitPoison module: %s\n", module_name); in __asan_before_dynamic_init()
435 if (g->module_name != module_name) in __asan_before_dynamic_init()
Dasan_suppressions.cpp78 if (const char *module_name = symbolizer->GetModuleNameForPc(addr)) in IsStackTraceSuppressed() local
79 if (suppression_ctx->Match(module_name, kInterceptorViaLibrary, &s)) in IsStackTraceSuppressed()
Dasan_interface_internal.h53 const char *module_name; // Module name as a C string. This pointer is a member
84 void __asan_before_dynamic_init(const char *module_name);
/freebsd-12-stable/contrib/llvm-project/lldb/docs/_lldb/
D__init__.py8 module_name = '_lldb' variable
9 sys.modules[module_name] = Mock()
/freebsd-12-stable/contrib/gdb/include/
Doasys.h64 char *module_name; member
135 char module_name[26-6]; member
/freebsd-12-stable/stand/lua/
Dconfig.lua361 local module_name = v.name or k
362 if not v.force and blacklist[module_name] ~= nil then
364 print(MSG_MODBLACKLIST:format(module_name))
369 loader.printc(module_name .. "...")
375 str = str .. module_name
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DScriptInterpreterPython.cpp2823 std::string module_name(pathname); in LoadScriptingModule() local
2860 module_name = module_file.GetFilename().GetCString(); in LoadScriptingModule()
2868 llvm::StringRef extension = llvm::sys::path::extension(module_name); in LoadScriptingModule()
2871 module_name.resize(module_name.length() - 3); in LoadScriptingModule()
2873 module_name.resize(module_name.length() - 4); in LoadScriptingModule()
2876 if (!possible_package && module_name.find('.') != llvm::StringRef::npos) { in LoadScriptingModule()
2878 "Python does not allow dots in module names: %s", module_name.c_str()); in LoadScriptingModule()
2882 if (module_name.find('-') != llvm::StringRef::npos) { in LoadScriptingModule()
2884 "Python discourages dashes in module names: %s", module_name.c_str()); in LoadScriptingModule()
2891 command_stream.Printf("sys.modules.__contains__('%s')", module_name.c_str()); in LoadScriptingModule()
[all …]
/freebsd-12-stable/contrib/gcc/
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-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp208 ModuleObject->module_name = ModuleIttnotify->getModuleName(); in notifyObjectLoaded()
211 ModuleObject->module_name, in notifyObjectLoaded()
344 KeyToIttnotify[Key]->getModuleObject()->module_name, in notifyFreeingObject()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_report.cpp332 const char *module_name; in ShowHeapOrGlobalCandidate() local
335 if (sym->GetModuleNameAndOffsetForPC(mem, &module_name, &module_address)) { in ShowHeapOrGlobalCandidate()
349 info.start, info.start + info.size, module_name); in ShowHeapOrGlobalCandidate()
355 untagged_addr, candidate == left ? "right" : "left", module_name, in ShowHeapOrGlobalCandidate()
362 module_name, module_address); in ShowHeapOrGlobalCandidate()
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/API/
DSBTarget.h570 const char *module_name = nullptr);
615 const char *module_name = nullptr);
629 const char *module_name = nullptr);
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
DLua.cpp186 ConstString module_name = file.GetFileNameStrippingExtension(); in LoadModule() local
187 lua_setglobal(m_lua_state, module_name.GetCString()); in LoadModule()

12