Home
last modified time | relevance | path

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

12

/netbsd-src/sys/external/bsd/compiler_rt/dist/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()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/lsan/
H A Dlsan_common_linux.cc29 static char linker_placeholder[sizeof(LoadedModule)] ALIGNED(64);
30 static LoadedModule *linker = nullptr;
32 static bool IsLinker(const LoadedModule& module) { in IsLinker()
54 for (LoadedModule &module : modules) { in InitializePlatformSpecificModules()
58 linker = reinterpret_cast<LoadedModule *>(linker_placeholder); in InitializePlatformSpecificModules()
60 module = LoadedModule(); in InitializePlatformSpecificModules()
100 LoadedModule *GetLinker() { return linker; } in GetLinker()
H A Dlsan_common_mac.cc94 LoadedModule *GetLinker() { return nullptr; } in GetLinker()
120 InternalMmapVector<LoadedModule> modules; in ProcessGlobalRegions()
128 for (const __sanitizer::LoadedModule::AddressRange &range : in ProcessGlobalRegions()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/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()
/netbsd-src/sys/external/bsd/compiler_rt/dist/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()
351 InternalMmapVectorNoCtor<LoadedModule> *modules) { in DumpListOfModules()
359 LoadedModule *cur_module = nullptr; in DumpListOfModules()
364 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.h694 class LoadedModule {
696 LoadedModule() in LoadedModule() function
759 const LoadedModule *begin() const { return modules_.begin(); } in begin()
760 LoadedModule *begin() { return modules_.begin(); } in begin()
761 const LoadedModule *end() const { return modules_.end(); } in end()
762 LoadedModule *end() { return modules_.end(); } in end()
764 const LoadedModule &operator[](uptr i) const {
779 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()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_common.cc129 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.cc48 static void NextSectionLoad(LoadedModule *module, MemoryMappedSegmentData *data, in NextSectionLoad()
59 void MemoryMappedSegment::AddAddressRanges(LoadedModule *module) { in AddAddressRanges()
349 InternalMmapVectorNoCtor<LoadedModule> *modules) { in DumpListOfModules()
357 LoadedModule *cur_module = nullptr; in DumpListOfModules()
362 modules->push_back(LoadedModule()); in DumpListOfModules()
H A Dsanitizer_procmaps_common.cc65 void MemoryMappedSegment::AddAddressRanges(LoadedModule *module) { in AddAddressRanges()
118 InternalMmapVectorNoCtor<LoadedModule> *modules) { in DumpListOfModules()
138 LoadedModule cur_module; in DumpListOfModules()
H A Dsanitizer_procmaps.h47 void AddAddressRanges(LoadedModule *module);
77 void DumpListOfModules(InternalMmapVectorNoCtor<LoadedModule> *modules);
H A Dsanitizer_common.h690 class LoadedModule {
692 LoadedModule() in LoadedModule() function
755 const LoadedModule *begin() const { return modules_.begin(); } in begin()
756 LoadedModule *begin() { return modules_.begin(); } in begin()
757 const LoadedModule *end() const { return modules_.end(); } in end()
758 LoadedModule *end() { return modules_.end(); } in end()
760 const LoadedModule &operator[](uptr i) const {
775 InternalMmapVectorNoCtor<LoadedModule> modules_;
H A Dsanitizer_symbolizer_libcdep.cc150 const LoadedModule *module = FindModuleForAddress(address); in FindModuleNameAndOffsetForAddress()
166 static const LoadedModule *SearchForModule(const ListOfModules &modules, in SearchForModule()
176 const LoadedModule *Symbolizer::FindModuleForAddress(uptr address) { in FindModuleForAddress()
182 const LoadedModule *module = SearchForModule(modules_, address); in FindModuleForAddress()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/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);
91 void DumpListOfModules(InternalMmapVectorNoCtor<LoadedModule> *modules);
H A Dsanitizer_common.h782 class LoadedModule {
784 LoadedModule() in LoadedModule() function
847 const LoadedModule *begin() const { return modules_.begin(); } in begin()
848 LoadedModule *begin() { return modules_.begin(); } in begin()
849 const LoadedModule *end() const { return modules_.end(); } in end()
850 LoadedModule *end() { return modules_.end(); } in end()
852 const LoadedModule &operator[](uptr i) const {
867 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()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
H A Dsanitizer_procmaps_test.cc40 InternalMmapVector<LoadedModule> modules; in TEST()
60 InternalMmapVector<LoadedModule> modules; in TEST()

12