/external/libmojo/base/debug/ |
proc_maps_linux.cc | 31 // Scans |proc_maps| starting from |pos| returning true if the gate VMA was 33 static bool ContainsGateVMA(std::string* proc_maps, size_t pos) { 36 return proc_maps->find(" [vectors]\n", pos) != std::string::npos; 39 return proc_maps->find(" [vsyscall]\n", pos) != std::string::npos; 47 bool ReadProcMaps(std::string* proc_maps) { 57 proc_maps->clear(); 60 // To avoid a copy, resize |proc_maps| so read() can write directly into it. 62 size_t pos = proc_maps->size(); 63 proc_maps->resize(pos + kReadSize); 64 void* buffer = &(*proc_maps)[pos] [all...] |
stack_trace_android.cc | 85 std::string proc_maps; local 93 if (!ReadProcMaps(&proc_maps)) { 96 } else if (!ParseProcMaps(proc_maps, ®ions)) {
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_procmaps_freebsd.cc | 33 void ReadProcMaps(ProcSelfMapsBuff *proc_maps) { 46 proc_maps->data = (char*)VmMap; 47 proc_maps->mmaped_size = MmapedSize; 48 proc_maps->len = Size;
|
sanitizer_procmaps_linux.cc | 20 void ReadProcMaps(ProcSelfMapsBuff *proc_maps) { 21 CHECK(ReadFileToBuffer("/proc/self/maps", &proc_maps->data, 22 &proc_maps->mmaped_size, &proc_maps->len));
|
sanitizer_libignore.cc | 53 MemoryMappingLayout proc_maps(/*cache_enabled*/false); 58 proc_maps.Reset(); 60 while (proc_maps.Next(&b, &e, &off, module.data(), module.size(), &prot)) {
|
sanitizer_posix.cc | 59 MemoryMappingLayout proc_maps(/*cache_enabled*/true); 61 while (proc_maps.Next(/*start*/nullptr, &end, 286 MemoryMappingLayout proc_maps(/*cache_enabled*/true); 288 while (proc_maps.Next(&start, &end, 300 MemoryMappingLayout proc_maps(/*cache_enabled*/true); 305 while (proc_maps.Next(&start, &end, /* file_offset */nullptr, 339 MemoryMappingLayout proc_maps(/*cache_enabled*/false); 340 while (proc_maps.Next(&s, &e, &off, buff.data(), buff.size(), &prot)) {
|
sanitizer_procmaps.h | 31 void ReadProcMaps(ProcSelfMapsBuff *proc_maps);
|
sanitizer_linux_libcdep.cc | 87 MemoryMappingLayout proc_maps(/*cache_enabled*/true); 90 while (proc_maps.Next(&start, &end, &offset, nullptr, 0,
|
/external/libchrome/base/debug/ |
proc_maps_linux.h | 45 // Reads the data from /proc/self/maps and stores the result in |proc_maps|. 81 BASE_EXPORT bool ReadProcMaps(std::string* proc_maps);
|
/external/libmojo/base/android/library_loader/ |
library_prefetcher.cc | 104 std::string proc_maps; local 105 if (!base::debug::ReadProcMaps(&proc_maps)) 108 if (!base::debug::ParseProcMaps(proc_maps, ®ions))
|
/external/compiler-rt/lib/asan/ |
asan_linux.cc | 140 MemoryMappingLayout proc_maps(/*cache_enabled*/true); 142 while (proc_maps.Next(nullptr, nullptr, nullptr, filename,
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_platform_posix.cc | 117 MemoryMappingLayout proc_maps(true); 119 while (proc_maps.Next(&p, &end, 0, 0, 0, &prot)) {
|
tsan_platform_linux.cc | 179 MemoryMappingLayout proc_maps(/*cache_enabled*/true); 182 while (proc_maps.Next(&start, &end, &offset, name, ARRAY_SIZE(name), &prot)) {
|
/external/compiler-rt/lib/tsan/dd/ |
dd_interceptors.cc | 272 MemoryMappingLayout proc_maps(true); 276 while (proc_maps.Next(&start, &end, &offset, name, ARRAY_SIZE(name),
|
/external/compiler-rt/lib/lsan/ |
lsan_common.cc | 277 MemoryMappingLayout proc_maps(/*cache_enabled*/true); 279 while (proc_maps.Next(&begin, &end,
|