/external/libmojo/base/debug/ |
D | proc_maps_linux.cc | 33 static bool ContainsGateVMA(std::string* proc_maps, size_t pos) { in ContainsGateVMA() argument 36 return proc_maps->find(" [vectors]\n", pos) != std::string::npos; in ContainsGateVMA() 39 return proc_maps->find(" [vsyscall]\n", pos) != std::string::npos; in ContainsGateVMA() 47 bool ReadProcMaps(std::string* proc_maps) { in ReadProcMaps() argument 57 proc_maps->clear(); in ReadProcMaps() 62 size_t pos = proc_maps->size(); in ReadProcMaps() 63 proc_maps->resize(pos + kReadSize); in ReadProcMaps() 64 void* buffer = &(*proc_maps)[pos]; in ReadProcMaps() 69 proc_maps->clear(); in ReadProcMaps() 74 proc_maps->resize(pos + bytes_read); in ReadProcMaps() [all …]
|
D | stack_trace_android.cc | 85 std::string proc_maps; in OutputToStream() local 93 if (!ReadProcMaps(&proc_maps)) { in OutputToStream() 96 } else if (!ParseProcMaps(proc_maps, ®ions)) { in OutputToStream()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_procmaps_freebsd.cc | 33 void ReadProcMaps(ProcSelfMapsBuff *proc_maps) { in ReadProcMaps() argument 46 proc_maps->data = (char*)VmMap; in ReadProcMaps() 47 proc_maps->mmaped_size = MmapedSize; in ReadProcMaps() 48 proc_maps->len = Size; in ReadProcMaps()
|
D | sanitizer_procmaps_linux.cc | 20 void ReadProcMaps(ProcSelfMapsBuff *proc_maps) { in ReadProcMaps() argument 21 CHECK(ReadFileToBuffer("/proc/self/maps", &proc_maps->data, in ReadProcMaps() 22 &proc_maps->mmaped_size, &proc_maps->len)); in ReadProcMaps()
|
D | sanitizer_posix.cc | 59 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in GetKernelAreaSize() local 61 while (proc_maps.Next(/*start*/nullptr, &end, in GetKernelAreaSize() 286 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in MemoryRangeIsAvailable() local 288 while (proc_maps.Next(&start, &end, in MemoryRangeIsAvailable() 300 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in DumpProcessMap() local 305 while (proc_maps.Next(&start, &end, /* file_offset */nullptr, in DumpProcessMap() 339 MemoryMappingLayout proc_maps(/*cache_enabled*/false); in GetCodeRangeForFile() local 340 while (proc_maps.Next(&s, &e, &off, buff.data(), buff.size(), &prot)) { in GetCodeRangeForFile()
|
D | sanitizer_libignore.cc | 53 MemoryMappingLayout proc_maps(/*cache_enabled*/false); in OnLibraryLoaded() local 58 proc_maps.Reset(); in OnLibraryLoaded() 60 while (proc_maps.Next(&b, &e, &off, module.data(), module.size(), &prot)) { in OnLibraryLoaded()
|
D | sanitizer_procmaps.h | 31 void ReadProcMaps(ProcSelfMapsBuff *proc_maps);
|
D | sanitizer_linux_libcdep.cc | 87 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in GetThreadStackTopAndBottom() local 90 while (proc_maps.Next(&start, &end, &offset, nullptr, 0, in GetThreadStackTopAndBottom()
|
/external/libmojo/base/android/library_loader/ |
D | library_prefetcher.cc | 104 std::string proc_maps; in FindRanges() local 105 if (!base::debug::ReadProcMaps(&proc_maps)) in FindRanges() 108 if (!base::debug::ParseProcMaps(proc_maps, ®ions)) in FindRanges()
|
/external/compiler-rt/lib/asan/ |
D | asan_linux.cc | 140 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in AsanCheckIncompatibleRT() local 142 while (proc_maps.Next(nullptr, nullptr, nullptr, filename, in AsanCheckIncompatibleRT()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_posix.cc | 117 MemoryMappingLayout proc_maps(true); in CheckAndProtect() local 119 while (proc_maps.Next(&p, &end, 0, 0, 0, &prot)) { in CheckAndProtect()
|
D | tsan_platform_linux.cc | 179 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in MapRodata() local 182 while (proc_maps.Next(&start, &end, &offset, name, ARRAY_SIZE(name), &prot)) { in MapRodata()
|
/external/libchrome/base/debug/ |
D | proc_maps_linux.h | 81 BASE_EXPORT bool ReadProcMaps(std::string* proc_maps);
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cc | 272 MemoryMappingLayout proc_maps(true); in InitDataSeg() local 276 while (proc_maps.Next(&start, &end, &offset, name, ARRAY_SIZE(name), in InitDataSeg()
|
/external/compiler-rt/lib/lsan/ |
D | lsan_common.cc | 277 MemoryMappingLayout proc_maps(/*cache_enabled*/true); in ProcessRootRegion() local 279 while (proc_maps.Next(&begin, &end, in ProcessRootRegion()
|