Home
last modified time | relevance | path

Searched refs:LoadedModule (Results 1 – 16 of 16) sorted by relevance

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common_linux.cpp31 static char linker_placeholder[sizeof(LoadedModule)] ALIGNED(64);
32 static LoadedModule *linker = nullptr;
34 static bool IsLinker(const LoadedModule& module) { in IsLinker()
56 for (LoadedModule &module : modules) { in InitializePlatformSpecificModules()
60 linker = reinterpret_cast<LoadedModule *>(linker_placeholder); in InitializePlatformSpecificModules()
62 module = LoadedModule(); in InitializePlatformSpecificModules()
107 LoadedModule *GetLinker() { return linker; } in GetLinker()
H A Dlsan_common_mac.cpp96 LoadedModule *GetLinker() { return nullptr; } in GetLinker()
123 InternalMmapVector<LoadedModule> modules; in ProcessGlobalRegions()
131 for (const __sanitizer::LoadedModule::AddressRange &range : in ProcessGlobalRegions()
H A Dlsan_common_fuchsia.cpp32 LoadedModule *GetLinker() { return nullptr; } in GetLinker()
H A Dlsan_common.h249 LoadedModule *GetLinker();
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common.cpp129 void LoadedModule::set(const char *module_name, uptr base_address) { in set()
135 void LoadedModule::set(const char *module_name, uptr base_address, in set()
144 void LoadedModule::clear() { in clear()
159 void LoadedModule::addAddressRange(uptr beg, uptr end, bool executable, in addAddressRange()
169 bool LoadedModule::containsAddress(uptr address) const { in containsAddress()
H A Dsanitizer_procmaps_mac.cpp49 static void NextSectionLoad(LoadedModule *module, MemoryMappedSegmentData *data, in NextSectionLoad()
60 void MemoryMappedSegment::AddAddressRanges(LoadedModule *module) { in AddAddressRanges()
355 InternalMmapVectorNoCtor<LoadedModule> *modules) { in DumpListOfModules()
363 LoadedModule *cur_module = nullptr; in DumpListOfModules()
368 modules->push_back(LoadedModule()); in DumpListOfModules()
H A Dsanitizer_procmaps_common.cpp66 void MemoryMappedSegment::AddAddressRanges(LoadedModule *module) { in AddAddressRanges()
121 InternalMmapVectorNoCtor<LoadedModule> *modules) { in DumpListOfModules()
141 LoadedModule cur_module; in DumpListOfModules()
H A Dsanitizer_procmaps.h50 void AddAddressRanges(LoadedModule *module);
81 void DumpListOfModules(InternalMmapVectorNoCtor<LoadedModule> *modules);
H A Dsanitizer_common.h777 class LoadedModule {
779 LoadedModule() in LoadedModule() function
842 const LoadedModule *begin() const { return modules_.begin(); } in begin()
843 LoadedModule *begin() { return modules_.begin(); } in begin()
844 const LoadedModule *end() const { return modules_.end(); } in end()
845 LoadedModule *end() { return modules_.end(); } in end()
847 const LoadedModule &operator[](uptr i) const {
862 InternalMmapVectorNoCtor<LoadedModule> modules_;
H A Dsanitizer_symbolizer_libcdep.cpp178 const LoadedModule *module = FindModuleForAddress(address); in FindModuleNameAndOffsetForAddress()
194 static const LoadedModule *SearchForModule(const ListOfModules &modules, in SearchForModule()
204 const LoadedModule *Symbolizer::FindModuleForAddress(uptr address) { in FindModuleForAddress()
210 const LoadedModule *module = SearchForModule(modules_, address); in FindModuleForAddress()
H A Dsanitizer_linux_libcdep.cpp589 InternalMmapVectorNoCtor<LoadedModule> *modules;
594 InternalMmapVectorNoCtor<LoadedModule> *modules) { in AddModuleSegments()
597 LoadedModule cur_module; in AddModuleSegments()
649 static void procmapsInit(InternalMmapVectorNoCtor<LoadedModule> *modules) { in procmapsInit()
H A Dsanitizer_symbolizer.h149 const LoadedModule *FindModuleForAddress(uptr address);
H A Dsanitizer_coverage_libcdep_new.cpp21 using AddressRange = LoadedModule::AddressRange;
H A Dsanitizer_mac.cpp1387 static inline bool CompareBaseAddress(const LoadedModule &a, in CompareBaseAddress()
1388 const LoadedModule &b) { in CompareBaseAddress()
1404 InternalMmapVector<LoadedModule> modules; in DumpProcessMap()
H A Dsanitizer_win.cpp674 modules_.push_back(LoadedModule()); in init()
675 LoadedModule &cur_module = modules_.back(); in init()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/stats/
H A Dstats.cpp65 const LoadedModule *mod = Symbolizer::GetOrInit()->FindModuleForAddress( in WriteModuleReport()