Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/compiler-rt/lib/lsan/
H A Dlsan_common_linux.cc31 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()
102 LoadedModule *GetLinker() { return linker; } in GetLinker()
H A Dlsan_common_mac.cc97 LoadedModule *GetLinker() { return nullptr; } in GetLinker()
124 InternalMmapVector<LoadedModule> modules; in ProcessGlobalRegions()
132 for (const __sanitizer::LoadedModule::AddressRange &range : in ProcessGlobalRegions()
H A Dlsan_common.h230 LoadedModule *GetLinker();
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common.cc131 void LoadedModule::set(const char *module_name, uptr base_address) { in set()
137 void LoadedModule::set(const char *module_name, uptr base_address, in set()
146 void LoadedModule::clear() { in clear()
161 void LoadedModule::addAddressRange(uptr beg, uptr end, bool executable, in addAddressRange()
171 bool LoadedModule::containsAddress(uptr address) const { in containsAddress()
H A Dsanitizer_procmaps_mac.cc50 static void NextSectionLoad(LoadedModule *module, MemoryMappedSegmentData *data, in NextSectionLoad()
61 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.cc67 void MemoryMappedSegment::AddAddressRanges(LoadedModule *module) { in AddAddressRanges()
122 InternalMmapVectorNoCtor<LoadedModule> *modules) { in DumpListOfModules()
142 LoadedModule cur_module; in DumpListOfModules()
H A Dsanitizer_procmaps.h50 void AddAddressRanges(LoadedModule *module);
81 void DumpListOfModules(InternalMmapVectorNoCtor<LoadedModule> *modules);
H A Dsanitizer_common.h704 class LoadedModule {
706 LoadedModule() in LoadedModule() function
769 const LoadedModule *begin() const { return modules_.begin(); } in begin()
770 LoadedModule *begin() { return modules_.begin(); } in begin()
771 const LoadedModule *end() const { return modules_.end(); } in end()
772 LoadedModule *end() { return modules_.end(); } in end()
774 const LoadedModule &operator[](uptr i) const {
789 InternalMmapVectorNoCtor<LoadedModule> modules_;
H A Dsanitizer_symbolizer_libcdep.cc152 const LoadedModule *module = FindModuleForAddress(address); in FindModuleNameAndOffsetForAddress()
168 static const LoadedModule *SearchForModule(const ListOfModules &modules, in SearchForModule()
178 const LoadedModule *Symbolizer::FindModuleForAddress(uptr address) { in FindModuleForAddress()
184 const LoadedModule *module = SearchForModule(modules_, address); in FindModuleForAddress()
H A Dsanitizer_linux_libcdep.cc540 InternalMmapVectorNoCtor<LoadedModule> *modules;
556 LoadedModule cur_module; in dl_iterate_phdr_cb()
589 static void procmapsInit(InternalMmapVectorNoCtor<LoadedModule> *modules) { in procmapsInit()
H A Dsanitizer_symbolizer.h122 const LoadedModule *FindModuleForAddress(uptr address);
H A Dsanitizer_coverage_libcdep_new.cc22 using AddressRange = LoadedModule::AddressRange;
H A Dsanitizer_mac.cc1083 static inline bool CompareBaseAddress(const LoadedModule &a, in CompareBaseAddress()
1084 const LoadedModule &b) { in CompareBaseAddress()
1100 InternalMmapVector<LoadedModule> modules; in PrintModuleMap()
H A Dsanitizer_win.cc626 LoadedModule cur_module; in init()
/freebsd-12.1/contrib/compiler-rt/lib/stats/
H A Dstats.cc66 const LoadedModule *mod = Symbolizer::GetOrInit()->FindModuleForAddress( in WriteModuleReport()