Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libcdep.cpp87 const char *module_name = nullptr; in SymbolizePC() local
95 res->info.FillModuleInfo(module_name, module_offset, arch); in SymbolizePC()
107 const char *module_name = nullptr; in SymbolizeData() local
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()
151 if (module_name) in GetModuleNameAndOffsetForPC()
152 *module_name = module_names_.GetOwnedCopy(internal_module_name); in GetModuleNameAndOffsetForPC()
181 *module_name = module->full_name(); in FindModuleNameAndOffsetForAddress()
[all …]
H A 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()
H A 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,
H A 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()
H A 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()
H A Dsanitizer_procmaps_common.cpp123 InternalMmapVector<char> module_name(kMaxPathLength); in DumpListOfModules() local
124 MemoryMappedSegment segment(module_name.data(), module_name.size()); in DumpListOfModules()
H A Dsanitizer_linux_libcdep.cpp593 static int AddModuleSegments(const char *module_name, dl_phdr_info *info, in AddModuleSegments() argument
595 if (module_name[0] == '\0') in AddModuleSegments()
598 cur_module.set(module_name, info->dlpi_addr); in AddModuleSegments()
617 InternalMmapVector<char> module_name(kMaxPathLength); in dl_iterate_phdr_cb() local
620 ReadBinaryNameCached(module_name.data(), module_name.size()); in dl_iterate_phdr_cb()
621 return AddModuleSegments(module_name.data(), info, data->modules); in dl_iterate_phdr_cb()
625 InternalScopedString module_name; in dl_iterate_phdr_cb() local
626 module_name.append("%s", info->dlpi_name); in dl_iterate_phdr_cb()
627 return AddModuleSegments(module_name.data(), info, data->modules); in dl_iterate_phdr_cb()
H A 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()
H A Dsanitizer_procmaps_mac.cpp357 InternalMmapVector<char> module_name(kMaxPathLength); in DumpListOfModules() local
358 MemoryMappedSegment segment(module_name.data(), module_name.size()); in DumpListOfModules()
H A Dsanitizer_win_dll_thunk.cpp20 void *WINAPI GetModuleHandleA(const char *module_name);
H A Dsanitizer_win_weak_interception.cpp23 void *WINAPI GetModuleHandleA(const char *module_name);
/freebsd-13.1/contrib/llvm-project/lldb/source/Breakpoint/
H A 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-13.1/contrib/llvm-project/lldb/source/Target/
H A 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()
H A 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-13.1/contrib/llvm-project/lldb/docs/_lldb/
H A D__init__.py8 module_name = '_lldb' variable
9 sys.modules[module_name] = Mock()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A 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()
H A 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()
/freebsd-13.1/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/bindings/
H A D__init__.py50 for module_name in MODULES:
51 module = importlib.import_module("." + module_name, __name__)
/freebsd-13.1/stand/lua/
H A 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-13.1/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A 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()
2882 if (module_name.find('-') != llvm::StringRef::npos) { in LoadScriptingModule()
2902 .GetItemForKey(PythonString(module_name)) in LoadScriptingModule()
2911 module_name.c_str(), module_name.c_str()); in LoadScriptingModule()
2915 command_stream.Printf("import %s", module_name.c_str()); in LoadScriptingModule()
2923 if (!LLDBSwigPythonCallModuleInit(module_name.c_str(), in LoadScriptingModule()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp208 ModuleObject->module_name = ModuleIttnotify->getModuleName(); in notifyObjectLoaded()
211 ModuleObject->module_name, in notifyObjectLoaded()
344 KeyToIttnotify[Key]->getModuleObject()->module_name, in notifyFreeingObject()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/
H A 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-13.1/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DLua.cpp186 ConstString module_name = file.GetFileNameStrippingExtension(); in LoadModule() local
187 lua_setglobal(m_lua_state, module_name.GetCString()); in LoadModule()
/freebsd-13.1/usr.bin/netstat/
H A Dnlist_symbols3 # module_name symbol_name
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/API/
H A DSBTarget.h570 const char *module_name = nullptr);
615 const char *module_name = nullptr);
629 const char *module_name = nullptr);

12